Mail Archives: djgpp/1997/09/12/18:48:29
Shawn Hargreaves (Shawn AT talula DOT demon DOT co DOT uk) writes:
[Interesting discussions of allegro's growing pains snipped]
I suspect the need now is for Allegro to go OO. Yep, Object-oriented, C++.
Then, requiring module-developers not to touch private functions or alter
base classes (but allowing them to derive classes and use them) while you
keep the interfaces of the base classes unchanged, merely deriving new
classes for certain situations, will take care of any problems with
syncing or implementation-dependent code being emitted.
Not to mention, some things like the graphics Vtable and the dialog_proc's
are pretty object-oriented already, and would lose their awkwardness if
they became, respectively, virtual functions of a Video class whose
subclasses are interfaces to specific drivers, and virtual functions of
dialog_object classes.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -