Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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.
--

Zigster


In reply to Re: Perverse Unreadable Code by zigster
in thread Perverse Unreadable Code by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found