Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-10-22 04:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.