<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Unexpected Behavior with Multiple Inheritance</title>
	<link>http://www.independentcreator.com/2006-11-22/unexpected-behavior-with-multiple-inheritance/</link>
	<description>Diary of an Indie Game Developer</description>
	<pubDate>Tue, 06 Jan 2009 23:46:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Matt</title>
		<link>http://www.independentcreator.com/2006-11-22/unexpected-behavior-with-multiple-inheritance/#comment-104</link>
		<author>Matt</author>
		<pubDate>Wed, 29 Nov 2006 21:26:45 +0000</pubDate>
		<guid>http://www.independentcreator.com/2006-11-22/unexpected-behavior-with-multiple-inheritance/#comment-104</guid>
		<description>Oh, I agree-- multiple inheritance is totally unjustified kludgery in most cases.  In half the remaining cases, it's somewhat justifiable, but still not worth the headaches.

Interfaces, OTOH, are friggin' great.  Event broadcasters and listeners are a great use case, though C# goes an extra step and pulls events out into their own jobby-- which is pretty sweet, btw.  (I &lt;3 C#.)

In many cases, you're better off just using a language that allows duck typing: http://en.wikipedia.org/wiki/Duck_typing.  If I felt I could use Python for a large chunk of this game's development, I probably would.</description>
		<content:encoded><![CDATA[<p>Oh, I agree&#8211; multiple inheritance is totally unjustified kludgery in most cases.  In half the remaining cases, it&#8217;s somewhat justifiable, but still not worth the headaches.</p>
<p>Interfaces, OTOH, are friggin&#8217; great.  Event broadcasters and listeners are a great use case, though C# goes an extra step and pulls events out into their own jobby&#8211; which is pretty sweet, btw.  (I &lt;3 C#.)</p>
<p>In many cases, you&#8217;re better off just using a language that allows duck typing: <a href="http://en.wikipedia.org/wiki/Duck_typing." rel="nofollow">http://en.wikipedia.org/wiki/Duck_typing.</a>  If I felt I could use Python for a large chunk of this game&#8217;s development, I probably would.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: transiit</title>
		<link>http://www.independentcreator.com/2006-11-22/unexpected-behavior-with-multiple-inheritance/#comment-100</link>
		<author>transiit</author>
		<pubDate>Tue, 28 Nov 2006 05:08:12 +0000</pubDate>
		<guid>http://www.independentcreator.com/2006-11-22/unexpected-behavior-with-multiple-inheritance/#comment-100</guid>
		<description>This might be a testament to how lazy I am when it comes to the object-oriented stuff, but I have yet to stumble upon a case where I've had to use multiple inheritance. Heck, I've never used a vitual function or a static object, either, but I'm weird like that.

At the end of the day, I've managed to write a fair amount of code in perl or C, depending on how much I care about performance. What little C++ I write tends to be pretty straightforward, so much so that I wonder if multiple inheritance is a feature, or a kludge for not working out your class structure in a clean way to begin with. Either I've not seen the light, or I've not drank the kool-aid. Or I'm just being an obstinant jerk. Or something else.

As far as OOP goes, I'm still searching for an example that lives up to the claim of reusability that is oft-cited. OOP  works well for me when I'm thinking about a problem in terms of data structures. Not so hot when I'm more concerned about the transformations on the data.

Seriously, what's wrong with me? I haven't been doing this nearly long enough to act like such a curmudgeon.</description>
		<content:encoded><![CDATA[<p>This might be a testament to how lazy I am when it comes to the object-oriented stuff, but I have yet to stumble upon a case where I&#8217;ve had to use multiple inheritance. Heck, I&#8217;ve never used a vitual function or a static object, either, but I&#8217;m weird like that.</p>
<p>At the end of the day, I&#8217;ve managed to write a fair amount of code in perl or C, depending on how much I care about performance. What little C++ I write tends to be pretty straightforward, so much so that I wonder if multiple inheritance is a feature, or a kludge for not working out your class structure in a clean way to begin with. Either I&#8217;ve not seen the light, or I&#8217;ve not drank the kool-aid. Or I&#8217;m just being an obstinant jerk. Or something else.</p>
<p>As far as OOP goes, I&#8217;m still searching for an example that lives up to the claim of reusability that is oft-cited. OOP  works well for me when I&#8217;m thinking about a problem in terms of data structures. Not so hot when I&#8217;m more concerned about the transformations on the data.</p>
<p>Seriously, what&#8217;s wrong with me? I haven&#8217;t been doing this nearly long enough to act like such a curmudgeon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
