Hello World in Smalltalk
Every programming journey starts with Hello World. Let’s write our first Smalltalk program and experience the language that defined object-oriented programming.
The Code
Create a file named …
Read more →Every programming journey starts with Hello World. Let’s write our first Smalltalk program and experience the language that defined object-oriented programming.
Create a file named …
Read more →In Smalltalk, every value is an object — integers, floats, booleans, even nil and true. There are no primitive types, no special cases. This purity makes Smalltalk’s type system remarkably …
In most languages, operators are baked into the grammar: + is a special symbol the parser knows about, with its own precedence table. Smalltalk takes a radically different view. There are no operators …
Most languages bake control flow into their grammar: if, while, and for are keywords the compiler treats specially. Smalltalk does something radical and beautiful instead - there are no control-flow …
Most languages have standalone functions you call by name. Smalltalk does not. In a pure object-oriented, message-passing language, the closest thing to a “function” comes in two flavors: …
Read more →Showing 1–5 of 5 posts (page 1 of 1)