Discussion about this post

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!

Expand full comment
Petar Ivanov's avatar

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

Great tips, Daniel!

Expand full comment
2 more comments...

No posts