Re:Why are there unfilled Perl jobs in LA?
by draegtun on Monday September 27, 2010 @04:03AM
(#1731049)
... regular expressions are easier to work with if you use the /x modifier so you can whitespace fill it and document the regex itself ...
Absolutely agree. I made a similar comment on HN post Regex: a little Clojure DSL for readable, compositional regexes only a few days ago: http://news.ycombinator.com/item?id=1719554
Then again, I actually find C/C++ pointer tracking and memory allocation daunting, so perhaps that is why I find Perl references more intuitive than not?
In my estimation you can make Perl harder to work with if you try, but you can also make it easier. ie: regular expressions are easier to work with if you use the /x modifier so you can whitespace fill it and document the regex itself, you can do things the hard way with objects, or you can use something like CPAN and get a module that makes this easy ( Moose is my favourite ).
Sure, Perl is perhaps hard for people, I'll give you that, but it doesn't have to be.