Closed
Description
Hello and sorry in advance for all typos!
I'd like to introduce a new Object in the core, which consistently represents a null value but is not null
. Why is this interesting?
One of the main pain points in Streams (not just core) is that null
isn't a good choice for end-of-stream value in object mode. Highland.js resolves it with it's own _.nil value. But this works fine only for the same install. as soon as we have two dependencies, each having it's local highland dependencies, the _.nil check is flawed. a central instance would solve some pains here.
why core? it's the single point of truth in Node.js context. This value could also provide more interoperability to different user-land packages.
Metadata
Metadata
Assignees
Labels
No labels