3 ms·
I was trying to create a level playing field as PHP and Python don't lend themselves to one-liners as well as Ruby and Perl. If blessing a hashref is real OO w
by cutler 8y ago
I was trying to create a level playing field as PHP and Python don't lend themselves to one-liners as well as Ruby and Perl.
If blessing a hashref is real OO why has so much energy been expended on Moose and its offspring? Before I left, back in 2013, there was also much gnashing of teeth over whether Perl needed a MOP so I don't think everyone agreed that bless() is enough.
- tyingq 8y ago"If blessing a hashref is real OO why has so much energy been expended on Moose and its offspring?" That's a good question. It's always mystified me. A little boilerplate doesn't bother me. As far as I can tell, it's because people didn't like writing the constructor boilerplate and getters/setters. Maybe for the "isa" pretend types?