2 ms·
You hit the nail on the head. I've been hacking perl for about 15 years now, and I stay with it because I can be so spectacularly productive with it! People som
by ajtaylor 15y ago
You hit the nail on the head. I've been hacking perl for about 15 years now, and I stay with it because I can be so spectacularly productive with it! People sometimes think I'm some kind of super genius, but it's just perl enabling me to bang out new features in no time at all. :)
If you're coming back to perl, read Modern Perl. Then learn Moose and its ecosystem. That will get you about 90% of the way to writing good, maintainable perl. :)
- kamaal 15y agoI think Perl works very hard internally to match the user intent when the user writes something. This practically gels with Larry Wall's water bed theory of complexity(http://en.wikipedia.org/wiki/Waterbed_theory http://en.wikipedia.org/wiki/Waterbed_theory). some systems, such as human and computer languages, contain a minimum amount of complexity, and that attempting to "push down" the complexity of such a system in one place will invariably cause complexity to "pop up" elsewhere. Take for example the given-when syntax in Perl - http://perldoc.perl.org/functions/given.html http://perldoc.perl.org/functions/given.html It really works hard enough to work as a switch statement with smart matching - http://perldoc.perl.org/perlsyn.html#Switch-statements http://perldoc.perl.org/perlsyn.html#Switch-statements with the adapting to the user intention. I have always wondered how the Perl will evolve in the future. I see it will look more and more like Perl 6 adding features to make the magic look spectacular and amazing. We are already seeing Moose and Moosex and various other modules developed using Devel::Declare and the amazing stuff that they can do. By working to match the user intention, the programmer generally can build the program in his head even while he is imagining the features. Overall the greatest power of Perl that I have seen is, You can start your text editor and really build things as you think. Unlike many languages where you need a IDE which 100's of MB's heavy or you have to continually bother dealing with piles and piles of verbose code which often requires hours and hours of effort figure out what's happening underneath the layers.