jeudi 3 février 2022

Is there a good tutorial on using reflection and metaprogramming in Smalltalk?

In an advanced course on programming paradigms I want to confront students with the beauty and pitfalls of programming with reflection and metaprogramming. After having done this using the Ruby languages and before that with Java, I now want to return back to the more flexible Smalltalk language to illustrate these concepts in their purest form possible. To update my slides, is there any good tutorial, slide deck or any other documentation available which introduces reflection and metaprogramming in Smalltalk, preferably its Pharo dialect.

It should include concepts such as the class Object, the class Class, Smalltalk's meta-object protocol, specific hook methods such as methodDoesNotUnderstand, dynamic code compilation and modification, etc.





Aucun commentaire:

Enregistrer un commentaire