DEV Community

Discussion on: Writing Beautiful Code

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Great tips! While I still advocate intent-commenting (won't go into that yet again here), I think these principles are superb! (+10 to style guides.)

Nice rule of thumb to go along with this: the "what" of your code should always be clear without comments.

Collapse
 
restoreddev profile image
Andrew Davis

I agree that comments are necessary, depending on the circumstance. Overall though, for standard CRUD operations, they can be unhelpful.