in reply to Re: Perl 'grammar'
in thread Perl 'grammar'
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
|
|---|