2010 frog design criticisms

From CSSEMediaWiki
Revision as of 17:00, 15 July 2010 by Colin Fagg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1. Becomes Issue(Egg-Tad-Frog)

2. Tadpole Tailtype i.e. Swim method. (Switch stament smell. Type Safety issues. Maybe Change to strategy pattern)

3. Move Interdace should be Method

4. saute in wine, export to xml {frog knows about this? i.e. seperation of concerns, model the real world.}

5. singleton biologist broken.

6. Frogbrain? (why doe it have eggs)

7. Adult frog knows who ate it.

8. Toad is a subclass of Frog. (Inheritance for implementation)

9. Encapsulation Violation


Personal tools