next up previous contents
Next: Binary Operators Up: Naming Methods Previous: Creating   Contents

Performing Actions

The most interesting protocols are akin to commands, where one addresses the objects in question with a phrase that suggests performing some action. This should usually have one key verb for each major component of the action (there is usually just one action per method, but select:thenCollect:, for example, performs two), and prepositions or conjunctions to relate the verbs and nouns.



Brian Rice 2004-08-24