DEV Community

Discussion on: Philosophy of a Good Developer

Collapse
 
kmwill23 profile image
Kevin

I somewhat agree on self-commenting code, but there are always cases were having the comment right there in another Dev's face is the right way to go.

If a bit of code is non-intuitive, a comment detailing it so other Dev's don't try to "fix" it may be appropriate. My personal example are coding patterns which solve major performance issues, but are not intuitive or self-documenting. Having that info in-context and not in a wiki is very important.