3 ms·
nil in Smalltalk is an object itself, so if you want to build something Option-like with it, this is pretty straightforward to implement. Considering that Citri
by Rockslide 11y ago
nil in Smalltalk is an object itself, so if you want to build something Option-like with it, this is pretty straightforward to implement. Considering that Citrine claims that "everything is an object", this should also be the case there, so I don't really see a problem with that.