3 ms·
I see that as a feature, honestly; what other languages have an OO system so massively flexible that you can easily build stuff like this on top of it? Perl's
by peteretep 12y ago
I see that as a feature, honestly; what other languages have an OO system so massively flexible that you can easily build stuff like this on top of it?
Perl's OO system is often derided as "bolted-on", but once you thoroughly understand `bless` and `->`, your imagination is the limit.
- ghkbrew 12y ago> what other languages have an OO system so massively flexible that you can easily build stuff like this on top of it? Lisp ...sorry I couldn't help myself
- kevin_thibedeau 12y agoTcl and Python also have (multiple) bolted on OO systems that can be altered at will.
- lispm 12y agoSee the Common Lisp Object System (CLOS) and its Meta-Object Protocol (MOP).
- kbenson 12y agoMoose is back-ported Perl6 objects, which borrows heavily from CLOS and the concepts introduced in the Smalltalk traits paper. This is a bit of a simplification of the history, but the ancestry is present, documented and obvious.