Title: RE: OO list module

Somwhat off topic I guess, but I thought id add a comment regarding this statement:

> Interesting, but likely to introduce inconsistency.  This is a
> left-to-right flow as opposed to the lisp/functional right-to-left. 

The "lisp/functional" flow (right to left) is also the expeced flow of assignmnet.

 X := Y;   { Assignmnet in Pascal: "X becomes equal to Y" }
 $x=$y=$z; # Chained assignment in perl, $x and $y become equal to $z

Although iirc Knuth uses a left to right assignment operator => in AoP.

I add this comment only to point out that right to left assignment is not just a lisp/functional thing, but is also how most people learn about assignment in programming contexts. (Which is why I find it odd that people seem to find it so alien when used for higher order constructs like list operators. It seems like people with a shell background prefer left to right and people with a CS background find right to left more natural. *shrug*)

cheers,
Yves
 

Reply via email to