DEV Community

Discussion on: "Do not comment on your code, it should be self-documented". Well... I don't agree.

Collapse
 
michael_shobowale profile image
Michael Shobowale

I think if you have to make comments to say what your code is doing, then it probably wasn’t written to be readable.

Comments are good as long as they aren’t unnecessary comments like commented out code.

Generally I don’t like having comments at all, because they sort of keep the code looking messy.