News for hackers. Stuff that matters.
Re:Tough times on the road to Starcraft by cpeterso on Saturday September 08, 2012 @02:19PM (#4493552)
Reading this Starcraft story and "Evolve Your Hierarchy" reminds me that, in retrospect, most of the class inheritance hierarchies in my student and early professional projects were bad design. These days, I think implementation inheritance is a code smell.
Re:Tough times on the road to Starcraft by Evbn on Saturday September 08, 2012 @06:57PM (#4494300)
"Prefer composition over inheritance" is an item in Bloch's Effective Java.