Why Not Just Use Singleton Classes?

Started by
10 comments, last by dave 20 years ago
I don''t think you''re using the term singleton correctly - singleton refers to a particular object-oriented design pattern.

In order for singleton to be at all useful, it must use polymorphism (and consequentially inheritence). Otherwise, it''s just a glorified global variable, which is the typical (ab)use.


...
The graphics engine is still written in C, the new ID game programmers think he''s crazy and finished the game using C++. ID uses a pipelined development process, Carmack does research and develops the next graphics engine, while the normal programmers finish the actual game (and then Carmack begins work on the next project).

- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Advertisement
umm, I haven''t looked at the quake/quake2 source in a while but although it is C it does seem OO in some cases. Like the entities. But maybe I''m thinking about some other enigne I looked at.

This topic is closed to new replies.

Advertisement