Readability (or maintainability) is a bugaboo not limited to Perl. (If you're primarily concerned about the ugliness of dereferencing, brother hand me a hammer!)

Any language that lets you choose your own names (and indentation, line breaks, et cetera) will allow you to write hard-to-maintain code. Any language that provides more than one way to accomplish something allows coders to pick, occasionally, the worst approach.

Conversely, any language that promises to make your code beautiful, expressive, efficacious, and easily maintained is either lying, hiding something, or suitable only for one sort of person doing one sort of task. (Some people hate Perl's use of sigils to denote variable "type" and "context". I like it. Some people think Ruby is eminently readable. I dislike the sigils used to denote types of variables.)

It's my opinion that syntax issues are less important than good programming habits (though there are some people who swear by LISP's postfix, and others who like indirect object notation, Larry forgive them!). That's not to say that certain syntaxes don't make things easier than others -- and you may find that another language fits you better than the others.

That's fine -- but be aware that readability and maintainability have a great deal to do with your habits and knowledge.


In reply to Re: Nailing my head to the Door by chromatic
in thread Nailing my head to the Door by rje

Title:
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, details, 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, summary, 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.