36 minutes ago, magicalclick wrote
*snip*nope. You have to box the object since you are moving the entire box, not individual items. Telling someone to move box of toys, or take toys out and move them, are completely different things, as the box is gone and the toys do not have the same relative displacement anymore. It is the same as you pass in a student object pointer or pass in individual student attributes in the parameters. They are very different and is no brainer to programmers.
Yea, but the alternative is an order of operations which is difficult to use in practice. So some type of "boxing" order of operations is preserved, higher order mathematical functions are given first priority, and the "boxing" is in your head. I never said it was necessary, just that it wasn't arbitrary, and its not arbitrary.
The standard order of operations also prevents a left-to-right "stacking" of the operations and allows you to do it from either direction.
So lets say someone knows nothing of math and sees an equation and doesn't get what to do. I understand the problem. But if you take one or two math courses, the choice for the standard order of operations should seem intuitive, and not something easy to forget.
Add your 2¢