Hacker News new | ask | show | jobs
by narcissismo 1950 days ago
Please keep going :)

Using Smalltalk (particularly Pharo) has been an eye-opening experience for me.

Its interesting to see that Amber has a Boolean class which I suppose corresponds to the JS boolean primitive. In other Smalltalks, I've seen a wonderful design where True and False are subclasses of Boolean. This way, there are no conditionals in the implementation of ifTrue: and ifFalse: