3 ms·
Notice that they are all just libraries, dedicated changes in Perl’s core: 0.
by lelf 12y ago
Notice that they are all just libraries, dedicated changes in Perl’s core: 0.
- swuecho 12y agoYou are right, but it is on its way to Perl Core. https://github.com/stevan/p5-mop-redux https://github.com/stevan/p5-mop-redux
- esaym 12y agoand as they say "standard lib is where modules go to die"
- peteretep 12y agoI 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.