Comment

Comment by narcissismo

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:

parent narcissismo 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton