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

Re: Perverse Unreadable Code

by zigster (Hermit)
on Apr 26, 2001 at 16:16 UTC ( #75754=note: print w/replies, xml ) Need Help??

in reply to Perverse Unreadable Code

I have great sympathy with your perspective, and on some levels I agree with you. Bad perl code is very bad.

I had a discussion regarding perl with a friend whose opinions I respect. He suggested that often when I look at perl and see it as line noise I am missing many subtleties because of my inexperience with the language. This is a point I had not considered but one I have sympathy for. Good code is a universal concept, universal across all languages. Good code comunicates intent along with performing some function. The (valid) critique you were making is that on occasion that intent is not as clear as it could be. It is possible, for ME at least, that sometimes the intent is clear I just cant read it? I understand the individual subs and symbols but do not YET fully understand the idioms and patterns of perl. Tiss a thing I am still learning.

Most other languages I use the symbols and methods dictate the flow. Perl is more subtle and complex the symbols and subs combine to produce the flow it is only with experience that full apreciation is possible. I almost thing that perl should be marked as a catagory aside a special methodolgy not complex or clever just different. More akin to natural languge where the context is as important as the symbol.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2022-01-20 11:19 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (56 votes). Check out past polls.