Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Some time ago I've read some article (or it was a chapter in some book, cannot remember) about naming method prefixes, that reflect method behaviour like addFoo(), setFoo(), removeFoo() etc

Could anyone point me to that article? Cannot google it and it makes me sad panda :-(

share|improve this question

put on hold as off-topic by durron597, Snowman, GlenH7, MichaelT, gnat Aug 29 at 3:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – durron597, Snowman, GlenH7, MichaelT, gnat
If this question can be reworded to fit the rules in the help center, please edit the question.

    
You mean the correct verbs to use? –  alex Jun 2 '11 at 10:58
    
@alex: yes, that article (or chapter) was about correct semantics of that verbs in development context. –  zerkms Jun 2 '11 at 10:59
    
@zerkms: "semantics of verbs"? That's odd. Verbs in your language of choice have well-defined semantics. What more do you need to know? Verbs are just words. You just use them. What's the problem? –  S.Lott Jun 2 '11 at 11:26
    
@S.Lott: the problem is to remember where I read about that ;-) Given my answer. –  zerkms Jun 2 '11 at 11:31
    
@S.Lott: Consistent choice of verbs adds value to the API design. –  Tamás Szelei Jun 2 '11 at 11:39

1 Answer 1

up vote 2 down vote accepted

Got it! It is "code complete" by S. McConnell, chapter 7.3 (in second edition)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.