|
|
|
|
|
by jfoutz
1037 days ago
|
|
It’s something else. Monkey patching comes from Ruby, since classes are open, you can change implementations at runtime. I’m not quite as familiar with meta magic, but I believe it has similar characteristics. Sorta like dynamically injected accessors via autoload in perl. There are cool tricks, but they come at a cost. Both for the reader of code, and the compiler of code. |
|
My Lisp Machine's operating system (MIT, end 70s onwards) is written in an object-oriented Lisp (using Flavors and later CLOS). Everything is open and everything can be changed at runtime. Mixins and similar stuff comes from there.
https://en.wikipedia.org/wiki/Flavors_(programming_language)