Re:Amber Smalltalk
by narcissismo on Sunday February 14, 2021 @07:35AM
(#26131869)
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:
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: