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

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I agree with what I believe is the spirit of this post.

Even if I'm not an expert in a language, the code should be written clearly enough that when it says

$x = function($a, $b);
a reasonably intelligent person can correctly understand that 'function' is acting on $a and $b to produce result $x, for example. Then go find out what 'function' does.

If a reasonably intelligent person can't even get that from the code without knowledge of all sorts of arcane idiosyncracies of the language, then we mustn't be surprised when IT managers reject Perl with that tired old refrain about it being unreadable

Perl's 'beauty' may just be it's own downfall.

Forget that fear of gravity,
Get a little savagery in your life.

In reply to Re^2: Should I leave behind beautiful code or readable code? by punch_card_don
in thread Should I leave behind beautiful code or readable code? by MaxKlokan

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

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

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

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (4)
    As of 2015-11-29 09:26 GMT
    Find Nodes?
      Voting Booth?

      What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

      Results (750 votes), past polls