Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: I think Perl ruined me as a programmer

by vrk (Chaplain)
on Oct 31, 2007 at 11:22 UTC ( #648221=note: print w/replies, xml ) Need Help??

in reply to Re: I think Perl ruined me as a programmer
in thread I think Perl ruined me as a programmer

I still find myself reverting to Perl when I want to get something done.


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).

print "Just Another Perl Adept\n";

  • Comment on Re^2: I think Perl ruined me as a programmer

Replies are listed 'Best First'.
Re^3: I think Perl ruined me as a programmer
by Jenda (Abbot) on Oct 31, 2007 at 22:09 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://648221]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2020-08-04 20:08 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (34 votes). Check out past polls.