News for hackers. Stuff that matters.
Re:The Least Boring Programming Book: Chapter 1 (excerpt) by alttag on Thursday January 26, 2012 @01:57PM (#3515406)
Whole-heartedly concur.

Another issue that my programming students (university sophomores/juniors in a business school) often have trouble with is the concept of = being used for assignment rather than equality testing. It's as natural as breathing for programmers, but a weird shift from the type of math they're used to.

Re:The Least Boring Programming Book: Chapter 1 (excerpt) by pflats on Friday January 27, 2012 @09:41AM (#3518396)
Definitely. In my experience, it gets a lot worse when you start re-assigning variables ("But x = 3, you can't say it equals 5"), and worse again when you have to start using == and = concurrently.

And then weak typing vs. strong typing vs. what the student expects, but at least that's easy to head off at the pass if you're anticpating it.