<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arne Aase &#187; Code design</title>
	<atom:link href="http://www.arneaase.net/category/code-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arneaase.net</link>
	<description>Stuff i find interesting</description>
	<lastBuildDate>Tue, 17 Mar 2009 22:51:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Model-View-Controller Pattern</title>
		<link>http://www.arneaase.net/2008/07/model-view-controller-pattern/</link>
		<comments>http://www.arneaase.net/2008/07/model-view-controller-pattern/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 00:55:55 +0000</pubDate>
		<dc:creator>Arne Aase</dc:creator>
				<category><![CDATA[Code design]]></category>

		<guid isPermaLink="false">http://www.arneaase.net/?p=7</guid>
		<description><![CDATA[Earlier this summer I started a project where the goal was to learn more about code design. I asked different people on which code design they preferred and ended up with the mvc-pattern. My first thoughts when I read about it where that the idea was good but I couldn&#8217;t visualize how the code would [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this summer I started a project where the goal was to learn more about code design. I asked different people on which code design they preferred and ended up with the <a title="model-view-controller" href="http://en.wikipedia.org/wiki/Model-view-controller">mvc-pattern</a>. My first thoughts when I read about it where that the idea was good but I couldn&#8217;t visualize how the code would be, so I decided to make a simple website using the pattern. After the website was done, I tried adding more functionality to the site, which was really easy and it made me wonder why we don&#8217;t learn stuff like this at school when we start programming. Wouldn&#8217;t it be better if people learned about different patterns and code design when they started learning about programming instead of first have to learn about programming, then have to restructure their coding styles to be more efficient/scalable ?</p>
<p>If you look at the advantages by a good code design the answer should be yes, but there are pros and cons to this. If the instructor choose to implement the code design in the course it means that he have to remove other topics. What topics could the instructor remove? The students have much new information to process and remember, would the code design part make them more confused or would it help them to get a better overall picture about programming?</p>
<p>I personally think the code design part would make the average student more confused, which again makes more students drop out. But I also think that code design is important to programming, and every programmer should think about their code design.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arneaase.net/2008/07/model-view-controller-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
