DEV Community

Discussion on: Self Documenting code isn't

Collapse
 
michaeldober profile image
Michael Ober

Code can replace most "what comments" but it certainly cannot replace the "why comments". In addition, there are some "what comments" that are needed because they explain what a complex stretch of code does.

Collapse
 
eviathan profile image
Brian Williams

Yep exactly this!