3 ms·
And I don't meant to suggest papering over bad naming conventions with comments. You're preaching to the choir there. What I do mean to suggest is that while
by MaulingMonkey 13y ago
And I don't meant to suggest papering over bad naming conventions with comments. You're preaching to the choir there.
What I do mean to suggest is that while in any half decent codebase, addCD should be unambiguous, someone thinking title is ambiguous isn't having a stroke -- at worst they're being incredibly jaded. API design is nontrivial, people make mistakes in the trivial cases distressingly often (due to laziness, lack of familiarity, wildly different backgrounds, or any number of other reasons), and relying on context too much has it's own problems anyways.
For example: We're missing it in the very snippet we're discussing. There's no class shown. You're filling in the blanks with reasonable code. I've seen far too much unreasonable code to dismiss it when talking coding styles, and even reasonable code is only a botched refactoring or two away from being unreasonable.