On Sat, Dec 23, 2006 at 08:30:52AM +0000, Smylers wrote:
> 
> Yes it is!  It trips people up in practice.  Multiplication is supposed
> to be commutative, yet interchanging its operands can yield a different
> result.

Addition is also commutative, yet '3 + 4 * 5' yields a different
result from '4 + 3 * 5'.

But I don't see Perl6 rushing out and making all operators having
the same precedence (which would make '3 + 4 * 5' yield the same
result as '4 + 3 * 5').


Abigail

Attachment: pgpaClvnEQBwr.pgp
Description: PGP signature

Reply via email to