Friday, August 03, 2018

Writing source code comments

A conversation I had today with a junior engineer:

Me: This code is quite complex, why didn't you write explanatory comments?
He: Since it is very complex, writing comments was difficult.

Lesson learnt: Review code of juniors as often as possible, don't let them off the hook (!)

No comments: