This is the best use of ICanHaZCheeseBurger, cats, and a burger joint I have seen in programming yet. (scroll to 2nd) http://stackoverflow.com/questions/90851/is-it-just-me-or-are-interfaces-overused …
@MagicalTimeBean so stick with base classes and inheritance, as oppose to interfaces for simple solutions?
-
-
@DaveVoyles It's also easy to overuse inheritance. Object composition (references) is often the best solution + most modular.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles IOW, if two classes both use the same type of data, give each a reference to it. Subclass to save rewriting *usage* of the data -
@MagicalTimeBean a reference to it? How do I do that? - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.