3 ms·
This is a roast, so picking it apart is to spoil the fun a bit :) But: "If we go back to the origins of Smalltalk, we encounter the mantra, “Everything is an o
by russellallen 16y ago
This is a roast, so picking it apart is to spoil the fun a bit :)
But: "If we go back to the origins of Smalltalk, we encounter the mantra, “Everything is an object”. Except variables. And packages. And primitives. And numbers and classes are also not really objects, and so on. Clearly “Everything is an object” cannot be the essence of the paradigm."
Even in Smalltalk, packages, numbers and classes are all objects. Primitives are methods, which are objects.
In Self, variables (in Selfspeak 'slots') are also objects.
- jcromartie 16y agoYeah, I thought maybe he was confusing ST with Java. In Java are those things not objects.
- igrekel 16y agoPeople always focus on the everything is an object bit, I remember reading Alan Kay saying that the idea of messaging between parts of the software was much more central than inheritance or even the notion of objects. http://lists.squeakfoundation.org/pipermail/squeak-dev/1998-October/017019.html http://lists.squeakfoundation.org/pipermail/squeak-dev/1998-... But I agree that the fact that so much is an object makes Smalltalk so much more flexible. I have not done any real work in Self, so I won't comment.