On Wed, Jan 28, 2009 at 02:46:30PM +0000, Nicholas Clark wrote: > On Wed, Jan 28, 2009 at 02:21:45PM +0000, James Laver wrote: > > Fair enough. But it's also that with this Perl: > > $c = $a + $b; > $d = $a . $b; > > then at compile time (heck at writing it time) I know what it is going to do* > It doesn't depend on the types, at run time, of the values within the > variables. Whereas in Python, what the same '+' operator in the same line > does is determined only at run time:
Yes, but Perl isn't quite without sin in that department either: $a ++; # Magic increment, or adds 1? $b = $c | $d; # Bitwise strings or integers? And then I'm not considering overloaded operations. Abigail