+ 1
How many actually put comments in their code?
3 Antworten
+ 1
I love to write comments especially to plan what to do when I write some method
+ 1
Considerate people comment.
Be considerate of others as well as your future self. Good teams will have a style guide that contributors should follow and will enforce the style guide during code review.
If you plan on riding solo for your entire career, then you don't need to comment. However, commenting (professionally) in the code and providing high quality documentation helps minimize liability. Most comments will be stripped in the client-facing code, so they are more useful for collaborative projects.
My opinion.
0
I do its a great way to let other programmers know what a particular set of code is doing.
Some do others dont it just depends on each programmer.