From: "Jeff Pang" <[EMAIL PROTECTED]>
> both you and Paul mentioned that perl is maybe easier to learn than python.
> but from many ppl's experience (including mine), python is easier to
> get begin with.
> 
> One of the advantages of python is that it can write code with good
> style, everyone's code looks the same.but for perl's code style, oops
> you can think of that...

You can write Perl with good style ... it's just that there are 
several or even many equaly good styles. So everyone's code doesn't 
look the same. While Python basically forces you to one "true" style 
... at least in some things.

Freedom is nice, but comes at a price. In this particular case you 
can choose which do you like better.
 
> Many guys learned perl and were confused for perl's context concept. I
> remembered a guy asked,
> 
> @x = (1,2,3);
> @y = (2,3,4);
> $a = @x;
> $b = @y;
> 
> surely $a == $b, but why not @x == @y ?

Sorry, I've been with Perl for so long that I can't remember not 
considering the concept natural. I actually miss it in other 
languages all the time.

Especially with Perl, Python and even Ruby everyone should try all of 
them and choose the one that fits his/her brain. I have chosen.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to