The teacher’s meaning is clear, which is the purpose of language. Mickey’s just being a grammar nazi.
Actually we don’t know whether 2+3 equals to 3+2 without seeing the definition of the + operator
Fun fact: C doesn’t even guarantee
a + b == a + b*If a and b are
floatOr signed integers because overflow is undefined. It could do the left-hand computation in two’s complement and the right hand in sign-magnitude, leading to different results. Or, as it’s undefined, it could brew you some coffee and serve it with an aspirin.
C doesn’t even guarantee a == a
As a small kid I learned i = i +1, before any maths teacher told me it couldn’t.
As a physicist, this is correct if I is sufficiently large
That’s like asking a fusion researcher whether the reactor needs to reach 100 million Celsius or Kelvin, isn’t it.
As a software developer this is a 100%* correct operation.
*From a logical perspective in C-like pseudocode. In reality you may have to add a „;“, a line break or other line delimiters if someone from Stackoverflow reads this
He could ask for clarification and discuss word definitions if the situation indicates a misunderstanding.
It also equals 25÷5, 1+4, 36-31
lol




