|
|
|
|
|
by tmtvl
130 days ago
|
|
Well, the P in PEMDAS stands for 'brackets'. The clearest example, even though it's rather uncommon: a := x ** y ** z
(and that's hoping the language does the OOE for exponentiation arithmetically correctly) versus (setf a (expt x (expt y z)))
It's a bit like how Reverse Polish Notation is superior to the infix notation we torture ourselves with (x + y * z or (x + y) * z versus x y z * + or x y + z *). |
|