> Moose was a hack to bring Java patterns to Perl
Say what now? Moose draws from most heavily from CLOS and Smalltalk, as filtered through Perl 6. I don't know of any Java influence in Moose at all.
Re:Introduction to Moose, Perl’s OO system
by perigrin on Sunday August 03, 2014 @01:22PM
(#8128486)
There was a little. Mostly stevan and Yuval going "oh god not that".
I've gone C/C++/Java -> Ruby -> Perl -> Perl+Moose -> Python.
Moose is the opposite of Java: it has a type system which actually does work for you and brings you amazing helpful stuff for free, whereas Java makes you go through rituals and pain to use a type-system that mostly only ever gets in your way.
Re:Introduction to Moose, Perl’s OO system
by oldmanjay on Sunday August 03, 2014 @01:10AM
(#8127112)
I'm fine with the idea that you like perl but the way you present your statement, it's almost as if you consider not understanding how to use the java type system as a compelling argument.
That's an interesting observation (that being fine with the idea of someone using modern perl is a thing), but perhaps there's a grain of truth to my level of Java ignorance - the last Java project of my own was written in the 1.4/1.5 days and left me feeling that getting reusable code out of huge towers of inheritance and interfaces seemed like more work than it should be.
Python patterns are still solid today, so I gladly choose doing things the Pythonic way over the Perl way. Not to mention the meta reasons to use a language (community, libraries, ecosystem).