DEV Community

loading...

Discussion on: Don’t comment your code

Collapse
adam_b profile image
Adam Braimah

Absolutely. For all the modern proclamations of "self-documenting" code, code can only show what it's doing, not why. Comments are still invaluable for explaining why something is happening, and sometimes, why it hasn't been done a different way (one which might have face validity, but be wrong).

Forem Open with the Forem app