|
by Brendan Enrick via Brendan Enrick on 10/21/2009 2:00:00 PM
When it is hard to understand or determine your intent, because your code is crap. Yep, that is pretty much the best time to comment your code. When I was in college I was told to make sure that I commented my code. I always wondered why. Now I know. Comments really tended to clutter things and make it less clear what I was trying to achieve. Comments take time to write, they take up valuable space, they add clutter, and they’re often out of date. So why do we write them? We write them because
... [ read more ]
|
|