2 ms·
What it is not is "clear", for any definition of the term understood by a working programmer who doesn't already know the language and grok the new abstraction.
by stcredzero 15y ago
What it is not is "clear", for any definition of the term understood by a working programmer who doesn't already know the language and grok the new abstraction.
Browse menu, "implementors," select ifTrue:ifFalse:ifMaybe: and find yourself in a short method in under 3 seconds. (Most of that human menu-selection time.) Maybe another 5 seconds for someone familiar with the environment and its conventions to read and understand what they are seeing.
You have a different POV, because it's the POV of someone who doesn't yet know how to fend for yourself in a different environment. Once you learn a few tricks like this, it's very empowering. (And it's not an obscure trick. A seasoned Smalltalker lives by "senders" and "implementers")
Those two opinions cannot logically be held in the same brain.
I don't hold those two opinions. I don't think . is hard, and I don't think Smalltalk syntax is so much easier. What it is, combined with code blocks as literals, is a meta-syntax. I think it's more powerful in some ways.