in reply to Re^5: Definition of numerically equal and rationale for 'you' == 'me'
in thread Definition of numerically equal and rationale for 'you' == 'me'
Just read S03: Changes to Perl operators. Impressive consistency improvements. I like the new x (string multiply) versus xx (list multiply) distinction. I suppose the vast number of operators that Perl supports, compared to other languages, is made possible by sigils; that is, languages without sigils couldn't so easily use x or xx as an operator. BTW, I was surprised to learn that the string multiply operator is commutative in Python (that is, "X"*3 and 3*"X" both produce "XXX"), which looks a bit odd to me (you learn these things playing golf you see ;-).
I also revisited the lovingly crafted Periodic Table of the Operators -- which clarifies why Perl is sometimes referred to as an "operator-oriented language".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Definition of numerically equal and rationale for 'you' == 'me'
by moritz (Cardinal) on Mar 03, 2012 at 06:45 UTC | |
by JavaFan (Canon) on Mar 03, 2012 at 08:45 UTC | |
by moritz (Cardinal) on Mar 03, 2012 at 13:32 UTC | |
by JavaFan (Canon) on Mar 03, 2012 at 14:14 UTC | |
by moritz (Cardinal) on Mar 03, 2012 at 14:53 UTC |