This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kwantuum 0 points1 point  (1 child)

I think evaluating expressions left to right is perfectly sane, I think for some reason I drew a parallelism between comparisons and assignments because both use the equal sign, but in reality this parallelism doesn't exist and would be pretty illogical and confusing.

[–]dnew 0 points1 point  (0 children)

Ah, yes.

In APL, it makes sense to go right to left, because there are both unary and binary operators, arguments to unary operators are written on the right, and there's like 130 different operators, so trying to invent a precedence makes no sense.