Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


What's the usefulness of that?


The 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: