Article View: comp.lang.misc
Article #4355Re: Readable Perl (was: Re: Relative Speed of Perl vs. Tcl vs. C)
From: Jared Still
Date: Fri, 16 Feb 1996 14:39
Date: Fri, 16 Feb 1996 14:39
36 lines
1452 bytes
1452 bytes
merlyn@stonehenge.com (Randal L. Schwartz) wrote:
>>>>>> "John" == John Viega <jtv2j@mamba.cs.virginia.edu> writes:
>John> People bitch about the readability of Perl non-stop. In fact, I have
>OK, now which do you find most readable...
> $i = 1;
> while ($i <= 10) {
> print "I can count to $i\n";
> $i++;
> }
.....
> foreach $i (1..10) {
> print "I can count to $i\n";
> }
>Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
None of the above.
I like my curly braces to line up.
foreach $i (1..10)
{
print "I can count to $i\n";
}
Jared Still, Oracle DBA
RxNet, Division of Value Health
"All opinions are mine, not my employers"
jared@valleynet.com
Technical Details
Message-ID:
<4g23sv$dht@alpine.valleynet.com>Path:
arc1-ca.pugleaf.net!alpine.valleynet.com!usenetReferences:
<4e3a2u$eoa@wcap.centerline.com> <4e54vc$7sk@orac.mon.rnb.com> <4fjvh5$k83@news1.radix.net> <JTV2J.96Feb11120004@brunelleschi.cs.virginia.edu> <4fncgf$96e@solutions.solon.com> <JTV2J.96Feb12142743@mamba.cs.virginia.edu> <ukd97hwzkc.fsf_-_@linda.teleport.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!alpine.valleynet.com!usenet From: jared@valleynet.com (Jared Still) Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java Subject: Re: Readable Perl (was: Re: Relative Speed of Perl vs. Tcl vs. C) Date: Fri, 16 Feb 1996 14:39:32 GMT Organization: ValleyNet Communications Message-ID: <4g23sv$dht@alpine.valleynet.com> References: <4e3a2u$eoa@wcap.centerline.com> <4e54vc$7sk@orac.mon.rnb.com> <4fjvh5$k83@news1.radix.net> <JTV2J.96Feb11120004@brunelleschi.cs.virginia.edu> <4fncgf$96e@solutions.solon.com> <JTV2J.96Feb12142743@mamba.cs.virginia.edu> <ukd97hwzkc.fsf_-_@linda.teleport.com> NNTP-Posting-Host: fresno1-19.valleynet.com X-Newsreader: Forte Free Agent 1.0.82