3 ms·
> In large part because two of my three university courses had automatic marking system which detracted points if comments exceeded a certain percentage of text
by zokier 14y ago
> In large part because two of my three university courses had automatic marking system which detracted points if comments exceeded a certain percentage of text mass
That sounds like a horrible system. Why'd they ever do that? The grading systems I have seen do the inverse, requiring certain amount of comments. That of course leads students writing gibberish just to fulfill the comment quota, but even that is better than penalizing for commenting.
- adrianhoward 14y agoThere speaks somebody who has never spent their evenings wading through terribly project submissions with > 70% comments. The 'why' would be that there's an entire class of newbie developer who write opaque code, and use the comments as an excuse not to write code clearly. I see too many developer with the general attitude 'This code is opaque - it needs a comment', where I vastly prefer 'This code needs a comment, how can I make it less opaque.'.