Hmmm. i think that's what larry might have had in mind when he let's us reverse the directives, as in:
$do_this if $this;
But you're right, i also miss the one-liner-skip-brackets syntax :-( Also, I agree with you- flaming C is bad with or without a smiley face.
But I find cuddled parentheses useful when I have a long block of code, let's say in a while loop, where I don't want to search of the end of some cryptic line where the matching parenthesis is :-O. of course, if one uses a real editor, parenthesis matching is builtin as a quick back hilite but since brackets are not color-coded to matching brackets, it seems simpler to look up your code a few lines and see a matching bracket, indented the same spaces as the matching one below. That's all. But I guess it's just a stylistic issue and nothing painfully important.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.