4 ms·
It can be said that Smalltalk syntax isn't standard across other languages. Ruby has some Smalltalk-flavored syntax (e.g. blocks, symbols), and there's Objecti
by vvillena 5y ago
It can be said that Smalltalk syntax isn't standard across other languages. Ruby has some Smalltalk-flavored syntax (e.g. blocks, symbols), and there's Objective-C, which more or less copies Smalltalk message syntax. But in both these languages, those bits are just a part of a much bigger language. And the same applies to Kotlin: what's shown here is just a small part of the whole language.
The beauty of Smalltalk is that these snippets show 90% of all the Smalltalk syntax. There's not much else, really! It might not look like a modern mainstream language, since all of them feature C-style syntax. But it's still worth a look: learning it can be done in a single afternoon, and you would realize all the things you haven't realized yet about how clever that small syntax set is.