in reply to The trouble with Perl Idiom
Why does your Perl way involve cramming everything together, while your C way has whitespace around operators like =? And why does your Perl way have strangeCaps? Iteration over @_ to just use its first element? Why are the curlies different?
Because there is not one Perl way, and certainly no "the" Perl way. There is more than one (Perl) way to do it.
My Perl way may be someone else's Javascript/PHP/Whatever way, and vice versa. The style you choose to program in isn't the only one.
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The trouble with Perl Idiom
by demerphq (Chancellor) on Aug 27, 2004 at 08:27 UTC | |
by Juerd (Abbot) on Aug 27, 2004 at 10:51 UTC |