<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Objects When? If Ever?</title><link>http://blogs.msdn.com/b/alfredth/archive/2010/09/11/objects-when-if-ever.aspx</link><description>This post started as a comment on Mark Guzdial’s blog ( Moti asks: Objects Never? Well, Hardly Ever! ) but I decided to elaborate some. I think this is an important discussion to have both in education and in industry. Mark’s post was inspired by an article</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Objects When? If Ever?</title><link>http://blogs.msdn.com/b/alfredth/archive/2010/09/11/objects-when-if-ever.aspx#10061152</link><pubDate>Mon, 13 Sep 2010 11:54:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10061152</guid><dc:creator>Rob Miles</dc:creator><description>&lt;p&gt;Objects are a good way of managing some kinds of solutions. They are also a good way of abstracting detal that you don&amp;#39;t want to bother with while you do the top level design. And they are a great way to deploy related resources. But they are a horible way to teach programming. I once tried to teach programming in an &amp;quot;objects first&amp;quot; way and got a bunch of people who could draw lovely class diagrams but couldn&amp;#39;t get anything to work. Never again.&lt;/p&gt;
&lt;p&gt;We now spend a very big chunk of our teaching getting algorithms sorted, and then introduce objects as a solution to problems of organisation and specification. &lt;/p&gt;
&lt;p&gt;And I always encourage my students to remember that the customer doesn&amp;#39;t actually care what technologies you have used to make it work, they just want a happy ending.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10061152" width="1" height="1"&gt;</description></item><item><title>re: Objects When? If Ever?</title><link>http://blogs.msdn.com/b/alfredth/archive/2010/09/11/objects-when-if-ever.aspx#10061026</link><pubDate>Mon, 13 Sep 2010 03:51:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10061026</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;you&amp;#39;re right, too many objects and interfaces clutters things up. &lt;/p&gt;
&lt;p&gt;A middle ground I&amp;#39;ve kind of settled with now is to let objects contain&lt;/p&gt;
&lt;p&gt;data but NOT functions..then let functions operate on the objects, not from inside the objects. In that way, objects is just a way to add new types..&lt;/p&gt;
&lt;p&gt;So in short. use draw(monster) and not monster.draw(). I found out that Scala with it&amp;#39;s &amp;quot;traits&amp;quot; suits this way very nice. Anyway, just my 50.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10061026" width="1" height="1"&gt;</description></item></channel></rss>