Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Learning Perl as a First (programming) language

by Anonymous Monk
on Aug 03, 2002 at 13:52 UTC ( #187345=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Learning Perl as a First (programming) language
in thread Learning Perl as a First (programming) language

If you are going to explain how Perl lets you learn, why don't you show that in the form that beginning programmers should learn?

for my $i (0..9) { print $i; }
Less mechanics to remember, and no possible confusion over off by one errors. Or even in this case (depending on which way the example was going to develop) just:
print 0..9;
Either of these is more convincing than writing Perl like a C refugee.


Comment on Re: Re: Re: Learning Perl as a First (programming) language
Select or Download Code
Re(4): Learning Perl as a First (programming) language
by talexb (Canon) on Aug 12, 2002 at 01:22 UTC
    The point that is appears you missed, my dear Watson :), is that I was debating similarities between C and Perl with Abigail-II. I was not trying to out-golf anyone on a zero to nine loop.

    Particularly :) Abigail.

    --t. alex

    "Mud, mud, glorious mud. Nothing quite like it for cooling the blood!"
    --Michael Flanders and Donald Swann

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://187345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-12-19 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (75 votes), past polls