DEV Community

loading...

Discussion on: Is Commenting Code that necessary?

Collapse
detzam profile image
webstuff

Oh yeah, the comments.
Listen, comments are useful if you explain in max one short line the block of code, thats block not line. Also you can limit commenting, by writing suggestive names for you variables and objects. So that when you read the code, the blocks you ll understant what its going on and you won't be needing large comment blocks.

Collapse
aashrithashiva29 profile image
Aashritha Shiva Author

Yes ! That's why I mentioned a point "Identify right places and intent to comment" . And by the way thanks for highlighting it again :)

Forem Open with the Forem app