3 Comments
User's avatar
Raul Junco's avatar

My rule of thumb with comments ๐Ÿ‘‡

Use Comments to explain why certain decisions were made, not what the code is doing.

Thanks for the article, Daniel!

Petar Ivanov's avatar

Comments should describe why a particular decision/trade-off has been made. It helps others understand it.

Great tips, Daniel!

Alessandro Fardin's avatar

Commenta are usefull some time, but most of the time they are used as deodorante, to cover bad naming, or too lo g methods