Posted: Sat Feb 27, 2010 4:28 pm
That's exactly what I said, and not what Ace said...
martin wrote:That's exactly what I said, and not what Ace said...
martin wrote:Ace left out parentheses, which makes what he said mathematically wrong, spaces aren't part of maths. I left out the subscripts because I'm a programmer and that means I can attach meaning to whatever arbitrary token I like.
shinygerbil wrote:My maths teacher once told me it should really be BOMDAS, but that doesn't sound quite as snappy.
Edit: Wikipedia to the rescue. Either is correct.
martin wrote:shinygerbil wrote:My maths teacher once told me it should really be BOMDAS, but that doesn't sound quite as snappy.
Edit: Wikipedia to the rescue. Either is correct.
Link the bit which says either is correct?I'm interested because I have never seen spaces used like that in mathematical notation.
Also, important aside, they might be mathematically correct but only one will work properly in Lua
xander wrote:Moreover, it is even bad code, as I highly doubt that you would be using x in that situation (it is likely that "x" would already be used for something else).
Montyphy wrote:xander wrote:Moreover, it is even bad code, as I highly doubt that you would be using x in that situation (it is likely that "x" would already be used for something else).
You obviously haven't seen martin's code :P