Skip to content
dp
← Ramblings

The best comment explains why, never what

code craft

The code already says what. If your comment restates it, delete the comment. If it can’t explain why this weird line exists, you probably don’t understand the line yet — and neither will the next person.


Have a correction or a different take?

I read every note and credit good ones in updates. It comes straight to me — nothing gets published automatically.

Send feedback
Built with TaskHound