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 …
-
-
Replying to @DaveVoyles
@DaveVoyles On that topic, I suggest using base classes instead in most cases, as per the chosen answer. More flexible, for small projects1 reply 0 retweets 0 likes -
Replying to @MagicalTimeBean
@MagicalTimeBean so stick with base classes and inheritance, as oppose to interfaces for simple solutions?2 replies 0 retweets 0 likes -
Replying to @DaveVoyles
@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 data1 reply 0 retweets 0 likes -
Replying to @MagicalTimeBean
@MagicalTimeBean a reference to it? How do I do that?1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles Declare a variable of that type in the class. http://stackoverflow.com/questions/49002/prefer-composition-over-inheritance …3 replies 0 retweets 0 likes
@MagicalTimeBean oh ok. I've been doing that all along, just didn't realize that was the term for it
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.