Re:Learn C, Then Learn Computer Science
by jkrems on Sunday February 09, 2014 @06:38PM
(#7208014)
Can you elaborate what you mean by "= vs. =="? Since you mention Pascal I'm guessing that you'd say ":=" and "=" would be better, but since the general model of math is different from procedural code, I'm not sure that's an uncontested truth. I learned Pascal in high school and ":=" was confusing to more people than "==", even among first time programmers.
[ Parent
| on HN ]
I find this paper [1] very interesting and elaborates on this issue -- "From experience it appears that there are three major semantic hurdles which trip up novice
imperative programmers. In order they are: assignment and sequence, recursion/iteration and concurrency".
[1] http://www.eis.mdx.ac.uk/research/PhDArea/saeed/paper1.pdf