Frogs design

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: '''An OO model of frogs.''' This beautiful design appeared in the 2004 427 exam. media:frogs.gif == Design notes == * This design models the lifecycles of ''Frog''s. * A ''Frog'' ...)
 
 
(35 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
'''An OO model of frogs.''' This beautiful design appeared in the 2004 427 exam.
 
'''An OO model of frogs.''' This beautiful design appeared in the 2004 427 exam.
  
[[media:frogs.gif]]
+
[[image:frogs.gif]]
  
 
== Design notes ==
 
== Design notes ==
  
* This design models the lifecycles of ''Frog''s.
+
* This design models the lifecycles of ''Frog''s.
* A ''Frog'' begins life as an ''Egg'', grows into a ''Tadpole'' and then an ''AdultFrog''.
+
* A ''Frog'' begins life as an ''Egg'', grows into a ''Tadpole'' and then an ''AdultFrog''.
* A ''FrogBrain'' belongs to a ''Frog'' and manages its behaviour.
+
* A ''FrogBrain'' belongs to a ''Frog'' and manages its behaviour.
* There is one ''Biologist'', ''Igor'', who sometimes moves ''Frog''s around.  ''Igor'' has been known to fry their legs in white wine.
+
* There is one ''Biologist'', ''Igor'', who sometimes moves ''Frog''s around.  ''Igor'' has been known to fry their legs in white wine.
* ''Toad''s don’t have the same lifecycle as ''Frog''s, but they look and act a lot like ''Frog''s.
+
* ''Toad''s don’t have the same lifecycle as ''Frog''s, but they look and act a lot like ''Frog''s.
* ''Toad''s eat ''AdultFrogs''.
+
* ''Toad''s eat ''AdultFrogs''.
  
== Design Critique ==
+
== Criticisms ==
  
This design is perfect.  It cannot be faulted.
+
* [[2009 frog design criticisms]]
 +
 
 +
* [[2010 frog design criticisms]]

Latest revision as of 04:31, 15 July 2010

An OO model of frogs. This beautiful design appeared in the 2004 427 exam.

Frogs.gif

Design notes

  • This design models the lifecycles of Frogs.
  • A Frog begins life as an Egg, grows into a Tadpole and then an AdultFrog.
  • A FrogBrain belongs to a Frog and manages its behaviour.
  • There is one Biologist, Igor, who sometimes moves Frogs around. Igor has been known to fry their legs in white wine.
  • Toads don’t have the same lifecycle as Frogs, but they look and act a lot like Frogs.
  • Toads eat AdultFrogs.

Criticisms

Personal tools