DEV Community

Discussion on: How To Write Comments

Collapse
 
hi_artem profile image
Artem

Agree with everything except for number 4. If your code has bug/unexpected behavior it should be documented in comments. Creating a GitHub issue or Jira tickets is definitely beneficial, but there is no guarantee the other developers will look at external sources while working on the code.

Collapse
 
muhimen123 profile image
Muhimen

Yeah, I always had a doubt either to put that or not. decided to let you guys do the choice for me. 😊