Reputation: 1420
Imagine you have a class World. The World has to have an iterative type of functionality, semantically mimicking passing of days. Every call of a method dedicated for the implementation of this event, makes any action that is designed to happen during the day. Now the question is - how to name the method, in such a manner that calling it with a dot notation (World.method) makes linguistic and imperative sense (using possibly one word)?
Upvotes: 2
Views: 45
Reputation: 1625
Each day is passing because the world is spinning. You are expecting a name with imperative sense, taking that in account I will suggest the following
World.Spin();
World.Rotate();
Upvotes: 2