3 ms·
Until I watched this I never understood class definitions in Pharo. His "we tell the TestClass to create a subclass of itself" blew my mind.
by AllegedAlec 3y ago
Until I watched this I never understood class definitions in Pharo. His "we tell the TestClass to create a subclass of itself" blew my mind.
- pdntspa 3y agoWhat's the usefulness of that?
- AllegedAlec 3y agoThe congruence with the rest of the language. It makes it so that creating a new class isn't declarative, but also just another message sent to the ecosystem of objects.