go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Amen. If you think about it, Perl is a horrible mess. The implementation is the definition, and although both have had a benevolent dictator drawing guidelines, there's layers of fixes on fixes in both the language and the implementation. The documentation is full of exceptions to the rules it tries to describe. The core language is quite huge, even if you don't have to know all of it, and the built-in function list makes many programmers of other programming languages shudder. Yet the reason it is effective in solving various practical problems is precisely because solutions to practical problems have been made easy. If you want to find all strings matching certain description, just write the description as a regular expression and use it. No need to load libraries or fight with baroque syntax. If you want to loop over all lines in a text file, just use the diamond operator. Although this isn't part of the language implementation, if you don't want to solve a problem again, download a module for CPAN. Perl is not pretty, but it's the best tool I know of. If I were a driver or operating system programmer, I would probably make similar arguments in favour of C (which is not a nice programming language but also gets the job done).
-- In reply to Re^2: I think Perl ruined me as a programmer
by vrk
|
|