Re:How high school students start thinking about code
by erlanger on Sunday July 05, 2009 @10:16PM
(#688997)
A simple example would be a fifth-grade teacher testing on the pythagorean theorum. I think the problem would always be worded (assuming no diagram)
Granted, this is one person's experience, but I never recall a variable's value being presented as
[ Parent
| on HN ]
Re:How high school students start thinking about code
by DougBTX on Monday July 06, 2009 @03:08AM
(#689273)
True, the dependent variable should be on the left. Sometimes it matters less, for example to express that two sides have the same length, a = b and b = a would both be acceptable.
Possibly more important, you would never see:
a = 3
a = 4
Begs the question: which is it, 3 or 4? Or does 3 = 4 too? Just a reminder that the operators really are equality, not assignment.