January 17, 2010

Pitfalls of OO

This presentation by Tony Albrecht might be interesting to some of you. It's a nicely motivated (with real code, tests and measurements) argument about why OO sometimes isn't the best solution.

For the case being presented (scene graph trees) a functional description seems to make the most sense. A lot of data without type variation and no behavioural differences ? Yeah, not much need for OO there.

So why did I build that 3D engine in Java again ? Uhm... :-)

No comments: