Programming Class Week 3 Addendum
2013-Nov-06, Wednesday 18:36There was a forum thread (link provided even though it might be inaccessible) where one of the people in the class mentioned that a lot of the code they were reading was pretty inelegant and clunky, specifically citing the example of using a boolean global variable instead of using the timer.is_running() function to determine whether to award points in the stopwatch game, and that they had provided suggestions of how to improve the person's code while still only grading them on what was in the grading rubric.
Since I already wrote about timer.is_running I won't repeat myself, but I was kind of surprised at the reception the poster got. Even though they specifically said that they didn't take points off for inelegant code, they got downvoted like crazy and some kind of hostile comments, mostly about how this is an introductory course etc. etc. And that's true, but there's no reason to teach bad habits that people will just have to unlearn later. It's easier to learn than it is to unlearn and then learn something different.
I guess it's like the quote goes:
Since I already wrote about timer.is_running I won't repeat myself, but I was kind of surprised at the reception the poster got. Even though they specifically said that they didn't take points off for inelegant code, they got downvoted like crazy and some kind of hostile comments, mostly about how this is an introductory course etc. etc. And that's true, but there's no reason to teach bad habits that people will just have to unlearn later. It's easier to learn than it is to unlearn and then learn something different.
I guess it's like the quote goes:
The trouble with most of us is that we'd rather be ruined by praise than saved by criticism.Huh. Re-reading the thread, things are better now. When I first looked, the OP's posts were all getting downrated quite heavily. Perhaps I was too quick to judge.
-Norman Vincent Peale