Wow.. I can't disagree more.

The best Perl programmers are the people who embrace Perl's unique features and capabilities and use them effectively. The best programmers are those that know multiple languages and can easily differentiate between the features and virtues of those languages such that they can determine when and where the use of that language is appropriate.

I can't think of a single language out there where it's appropriate to write it in the style of another language to make it readable by other programmers. In fact, I can think of several horror stories that illustrate the absolute contrast of this point. (One example that jumps to mind is a C header file I once saw that adds #defines that allow you to write C in the style of COBOL. I tried to find the spot where I saw this originally but was unable to.. if anyone knows what I'm talking about, I'd love to see it. :)

Win - Can you provide any supporting argument to your statement? Examples where Perl code written in 'C-style' is more 'readable' than in 'Perl-style'?

m.att


In reply to Re^2: Perl 'grammar' by m.att
in thread Perl 'grammar' by gortok

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.