Nouns to classes

This message:

reminded me of an old sketch about OO design - first you make a word cloud about your project. Then you sort:

nouns are candidates of classes
adjectives are candidates of interfaces
verbs are candidates of methods

There is no guarantee that it will lead to a good design, but at least it helps to get some systematic into the word cloud.

Examples:

paddle -> class Paddle : that’s a farily certain guess to be alright
colored -> interface Colored with setColor/getColor : overkill, but the idea leads into the right direction
moves -> one or more methods for moving : details still to figure out, but activites go into methods, that’s alright in any case

You still have 1001 options to get the design wrong, but if you know nothing about OOD/OOP yet, this can help to get started.