[Tutor] designing POOP
keridee at jayco.net
Thu Feb 14 13:49:41 CET 2008
> Hmm. Not to me. The second version couples the game state with the
> display. I would rather have
> This is an example of Model-View-Controller architecture (google it).
> Notice that the Game and Display are now reusable (maybe there are both
> GUI and text interfaces to the game, for example, or versions for wxPython
> and PyQt) and testable independently of each other.
Ah yes... I don't like the Model-View-Controller architecture. That the
major reason why I dislike most information available on C++. This is a
personal issue though. The Model-View-Controller is a very common thing, and
everyone but me would be wise to use it. :-)
More information about the Tutor