Hacker News new | ask | show | jobs
by omaranto 1594 days ago
Or it makes it obvious the person is just learning the syntax and wrote themselves a reminder of what that weird ++ symbol means?
1 comments

Why I need to guess? `i++ // ++ adds 1 to i` makes it obvious, instead of throwing your brain out of code parsing loop to decrypt the message.

The primary goal of documentation is to make code easier to understand, not to copy code or to puzzle the reader. If the documentation doesn't help, then it's useless, so it must be deleted, or it makes readability worse, so it must be deleted.