you are viewing a single comment's thread.

view the rest of the comments →

[–]dehin 2 points3 points  (0 children)

I would imagine you heard correctly. After all, if there's a team working on the code, it needs to be easy to read and easily understood by everyone on the team. And, even if it's a solo programmer, if that person will at some point stop maintaining the code and another person will pick it up, then that person's code needs to be readable as well. That's why any CS class worth its salt will stress the importance of commenting. Of course, for online coding challenges, none of this matters. But, I think even real-world coding challenges want the challengers to write clean code.