Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^4: Perl oddities

by Anonymous Monk
on Mar 07, 2005 at 05:25 UTC ( #437172=note: print w/replies, xml ) Need Help??

in reply to Re^3: Perl oddities
in thread Perl oddities

Do you think that all oddities need to be fixed? A language without oddities would be extremely boring. Besides, my oddity doesn't have to be your oddity.

Replies are listed 'Best First'.
Re^5: Perl oddities
by Tanktalus (Canon) on Mar 07, 2005 at 10:28 UTC

    To the extent that oddities get in the way of getting our collective jobs done, yes. And very few of us actually have jobs where golf or obfu is part of the requirement, which is where some of these oddities get (ab)used.

    When I'm coding, I'm not looking for a "fun" language. I'm looking for a practical language. One that does not get in the way of me finishing my current task to get on to the next task. That doesn't mean I can't enjoy the task of coding, it just means that fighting oddities is not the enjoyable part of the task: completing the task faster and more reliably than any of my teammates is the enjoyable part of the task (for me). Having the flexibility to think in the problem space rather than the solution space is enjoyable (for me). Being able to do things the way that I think they need to be done, not necessarily the way the language designer(s) thought they should be done, is enjoyable (for me). Fighting oddities is not.

    It's not even as if Perl is the only language with oddities. C has a bunch, too, many (if not most) of which Writing Solid Code tell you to avoid.

      Having the flexibility to think in the problem space rather than the solution space is enjoyable

      Yes, and this is why some oddities may even help. The fact that ' ' as first argument to split is slightly different than / / is certainly an oddity. But useful. The fact that // has a specific meaning, but not if it's used as a first argument to split, is also an oddity. But useful.

      Not every oddity is evil.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-09-19 12:37 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (114 votes). Check out past polls.