> Hmm. Not to me. The second version couples the game state with the > display. I would rather have
True... > 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. :-) _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
