2 ms·
>>Perl gets proper OOP Curious what about Perl 5 OOP makes it not proper. Is is just the required constructor boilerplate, like bless()? Or is it the lack of
by tyingq 11y ago
>>Perl gets proper OOP
Curious what about Perl 5 OOP makes it not proper. Is is just the required constructor boilerplate, like bless()? Or is it the lack of enforced private methods?
Neither seems like a showstopper to me...honestly curious.
- collyw 11y agoPerls OOP was an afterthought and it does feel a bit of an add on rather than a core part of the language. Having said that I got my first job using Perl after learning Java at university. It actually helped me understand OOP and inheritance a lot better because it was so transparent compared to Java's OOP which seemed more of a black box - it worked but I never really knew how.