News for hackers. Stuff that matters.
Re:How to win the coding interview by scrabble on Tuesday May 31, 2016 @07:25AM (#11805894)
I have had a teacher that said you needed to comment every single line because that's how code is written in the real world.

I told him he was wrong and argued with him on more than one occasion. In the end, I just did it his way because there wasn't a good alternative.

Re:How to win the coding interview by pklausler on Tuesday May 31, 2016 @12:36PM (#11807574)
> In the end, I just did it his way because there wasn't a good alternative.

Ironically, that is quite a bit like the real world.

Re:How to win the coding interview by jfoutz on Tuesday May 31, 2016 @10:01AM (#11806530)
Sounds like a job for a perl(or whatever) script.

Might be fun to do some light ad hoc parsing.

Also, with that rule, I can't resist

    // this line left intentionally blank.
Re:How to win the coding interview by kevhito on Tuesday May 31, 2016 @11:01AM (#11806887)
Ahem:

    // this line left intentionally non-blank.