is simply more readable as...

I find the second way totally unreadable. I can't see the left side and right side at the same time. I read code like I read sentences, not like a table. I won't line up this paragraph with all the subjects on the left, verbs in their own column, and predicates justified to the right. The gap between the "my $foo" and the RHS is bigger than the left hand side! That makes me think of the break as a significant thing in itself.

Remember the book "Code Complete"? I think there was a discussion of that in there. I remember discussing it at length on another forum a few years ago.

What font do I use? In the programming editor, it's Veranda 8. I think that's what it came set to. I seem to have lost my custom settings (the comments are blue; I had set them to green).

Calling with multiple arguments...

Perhaps this is something that authors should keep in mind. How often do we have hash-like bags of named things, as opposed to a known structure? The "param" really is like parameters; just known at a different level.


In reply to Re: Re: Re: Re: CGI and why? by John M. Dlugosz
in thread CGI and why? by Sifmole

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.