News for hackers. Stuff that matters.
Re:Notes by Andy Hertzfeld on Alan Kay's talk at Creative Th... by hboon on Wednesday July 29, 2020 @03:12AM (#23984159)
In case it wasn't clear, Smalltalk does have if statements. They just aren't special keywords like in most other languages; instead, they are methods of the True/False classes.

The way it is implemented (hopefully) opens up the mind to how OO actually can work, but in practise, when you use if-else in Smalltalk, it's pretty much the same as in other languages.

There are no comments on this comment yet.