DEV Community

Discussion on: 7 Tips For Clean Code

Collapse
 
patoezequiel profile image
Patricio Hondagneu Roig

In general I think comments are a good idea when they define the purpose of something or metadata about how to use them (go JSDoc) or when logic is inherently complex and chunks of code are better understood with a text explanation.

The opaque type helper is a new for me, thanks