News for hackers. Stuff that matters.
Re:How to win the coding interview by di4na on Tuesday May 31, 2016 @05:16AM (#11805550)
As someone that was a student until last year, the real hard problem is that we have teachers that want this type of comments. Having different standards for different teachers the same day is a lot of context switching...

A better idea would be to get a standard code style for all course...

Re:How to win the coding interview by ogsharkman on Tuesday May 31, 2016 @08:50AM (#11806220)
My school actually had standard coding styles for each language they taught. Naturally, they all wanted a metric fuckton of comments (luckily the TAs didn't care as much about the comments part of those guides).
Re:How to win the coding interview by heartbreak on Tuesday May 31, 2016 @11:03AM (#11806896)
Particularly with beginners, I think there's a lot of "What were they thinking when they wrote this??" going on when a professor or TA reads code that is completely unintuitive (Take a look at /r/learnprogramming for some examples). Having comments everywhere makes it easy to say, "Oh! S/he was trying to reset all of the variables in the program by calling main(null); (actual example from the subreddit). How would you ever know that without a comment explaining why main(null); is called in the middle of a class?