DEV Community

Discussion on: Self Documenting code isn't

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Agreed - comment why, not necessarily what. (Yes, the line blurs, but the point is for the comment to describe what you intended to happen, on a more human-thought level.) One way of approaching this is the Commenting Showing Intent standard.