DEV Community

Discussion on: When do you create a function or method?

Collapse
 
codevault profile image
Sergiu Mureşan

You have a one-line comment, it's usually better as a function with good name

Are comments a rarity in your projects? Also, do you work on a team or alone?