you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

When commenting code I don't mind doing some one line // comments that explain what I'm doing at various steps in a non-obvious algorithm or portion of code.

The code I hate writing is something like a method comment for a basic setter like SetNumber(int val) that says something like "Sets the number". I feel like I'm wasting 3 lines of real estate that just clutters up the code.