Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But it is not a language I would choose for answering test questions, unless maybe the grade was proportional to the number of lines of code written

Related to this: At Uni we had a terrible lecturer for our first year C programming courses. We had a team project that none of understood. A few days before the submission, when we didn't have anything that would compile, someone got hold of the marking system. The marking was automatic, and up to 5 of the 25 marks were awarded for the code:comment ratio. We deleted the lines that were causing it to fail to compile, then copy n pasted the whole code below again, but as one giant multi-line comment, securing us a 1:1 code:comment ratio. We got 7/25, 5 of which was for "Legibility and good coding practices".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: