Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: I think Perl ruined me as a programmer

by BrowserUk (Pope)
on Oct 31, 2007 at 02:08 UTC ( #648162=note: print w/replies, xml ) Need Help??

in reply to I think Perl ruined me as a programmer

but I'm saying Perl has made me not want to tolerate unnecessary restrictions and unnecessary keystrokes.

Every now and again I encounter someone saying something that, once I read it, I feel I've been trying to say in a dozen different ways for months or years.

Dispite all my dilettantism with half a dozen other languages of various flavours over the last couple of years, I still find myself reverting to Perl when I want to get something done. It's not that there aren't nice features in each of those other languages, things that I wish I had access to from Perl. It's that I don't miss those things in Perl anywhere near as much as the bits of Perl I miss when I am in those other languages.

Moreover, I resent the hoops those other languages make me jump through to get things done that are just so easy in Perl.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: I think Perl ruined me as a programmer

Replies are listed 'Best First'.
Re^2: I think Perl ruined me as a programmer
by vrk (Chaplain) on Oct 31, 2007 at 11:22 UTC

    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";

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2020-08-13 06:30 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (69 votes). Check out past polls.