Settings

Theme

Coding Without Comments (2008)

blog.codinghorror.com

1 points by alexpadula 10 days ago · 2 comments

Reader

runtimepanic 10 days ago

I’ve always felt this argument works best in small, stable codebases with low team churn. Self-documenting code is a great goal, but in real systems the why often matters more than the what, and that context rarely survives in variable names alone. In my experience, comments age badly when they restate code, but they age quite well when they capture constraints, trade-offs, or historical decisions. The real smell isn’t comments, it’s comments compensating for unclear design.

  • alexpadulaOP 10 days ago

    Love it! I agree. A large codebase, complex I feel like we don’t want less or no comments, we don’t want useless comments but comments that are up to date and useful to the reader. Sure you can follow code but code can stink too.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection