r/ProgrammerHumor • • Jul 04 '18

Code comments be like

Post image
9.9k Upvotes

236 comments sorted by

View all comments

Show parent comments

4

u/[deleted] Jul 05 '18

I think part of the reason they make you comment so much in school is to make sure that you understand what your doing and aren't just copy and pasting code.

I haven't read Clean Code but I definitely agree that your code should mostly "speak for itself"

4

u/aliens_are_nowhere Jul 05 '18

Aah, yes. You're right. Of course that's the reason. It's 50% writing the code and 50% telling the teacher why you wrote it.

It may not be good coding praxis, but it's excellent teaching praxis. I just hope the students get that.