in reply to I want you to convince me to learn Perl
An example of the philological influence: human languages have inflections. (In English, for example, nouns are inflected according to single or plural; verbs get inflected according to tense (past, present or future) etc.
In Perl, the parallel is the "sigil" system: the little sign: [$, @, %] you put in front of the variable. It signifies the "context".
So for example, if "Array" is an array, then normally you will refer to it as: "@Array", but when you refer to an array member, you have to state: "$Array[$i]".
Logic of similar power governs the referencing/ dereferencing system.
You don't have these in Python - therefore, it less fun to write, and more error-prone when engaging in heavy and complex programming.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: I want you to convince me to learn Perl
by pobocks (Chaplain) on Sep 25, 2013 at 05:47 UTC | |
by HelenCr (Monk) on Sep 25, 2013 at 14:00 UTC | |
by pobocks (Chaplain) on Sep 30, 2013 at 04:12 UTC | |
Re^2: I want you to convince me to learn Perl
by kasxperanto (Acolyte) on Sep 25, 2013 at 15:04 UTC |