<?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>f3yourmind &#187; Architecture and Development</title>
	<atom:link href="http://aslamkhan.net/category/software-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://aslamkhan.net</link>
	<description>"There are no limits. There are only plateaus, and you must not stay there, you must go beyond them." - Bruce Lee</description>
	<lastBuildDate>Wed, 01 Sep 2010 22:25:14 +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>Advertising</title>
		<link>http://aslamkhan.net/software-development/advertising/</link>
		<comments>http://aslamkhan.net/software-development/advertising/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 21:26:53 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/software-development/advertising/</guid>
		<description><![CDATA[Did you notice the advertising banners on my blog?  I&#8217;m experimenting to see if it&#8217;s possible to earn any money from geek blogging on the narrow subject of software architecture, agility and all the other things I churn out.  I&#8217;m going to let it run for a while and see what happens.
Oh, I [...]]]></description>
			<content:encoded><![CDATA[<p>Did you notice the advertising banners on my blog?  I&#8217;m experimenting to see if it&#8217;s possible to earn any money from geek blogging on the narrow subject of software architecture, agility and all the other things I churn out.  I&#8217;m going to let it run for a while and see what happens.</p>
<p>Oh, I guess I&#8217;ve got to do something about the site layout again.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fadvertising%2F&amp;linkname=Advertising"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/advertising/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reflections on the JCSE Agile and Architecture Talk</title>
		<link>http://aslamkhan.net/events/reflections-on-the-jcse-agile-and-architecture-talk/</link>
		<comments>http://aslamkhan.net/events/reflections-on-the-jcse-agile-and-architecture-talk/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 10:25:31 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Conferences, Speaking Gigs, etc.]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[AOP]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[intentions]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=362</guid>
		<description><![CDATA[It was really good to be part of a very topical subject at the JCSE Architecture Forum last night.  While these discussion are so valuable, the things that surface can only be glossed over, largely because of time constraints.  I end up feeling a very satisfied and energised but a part of me feels a [...]]]></description>
			<content:encoded><![CDATA[<p>It was really good to be part of a very topical subject at the <a href="http://jcse.org.za/events/2010-07-22-architecture-forum">JCSE Architecture Forum</a> last night.  While these discussion are so valuable, the things that surface can only be glossed over, largely because of time constraints.  I end up feeling a very satisfied and energised but a part of me feels a bit hollow.</p>
<p>So here are some of the things that surfaced at the Forum, and my narrow, unworldly opinion on each (i.e. I&#8217;m just trying to fill that hollow feeling).</p>
<p><strong>When we talk about architecture, we need to define what we mean by architecture?</strong></p>
<p>In my talk it was a very simple view of architecture which, thinking back, I should have disclosed very early.  I am now applying from <a href="http://www.threeriversinstitute.org/blog/?page_id=379">Kent Beck</a> who talks about mutually beneficial relationships.   So I think of architecture as the mutually beneficial relationship between two or more things.  So what is a thing?  It could be  lines code in a method, methods in a class, classes in namespace, namespaces in code base, binaries in an application server, application servers in a cluster, &#8230; see where I am going?  Architecture is about creating beneficial relationships, and the 5 things I discussed are based on this view.  If you don&#8217;t know anything about the things, then you cannot create beneficial relationships.  From an agile perspective, the beneficial relationship that you create should only be beneficial based on your knowledge right now.  Tomorrow your knowledge changes, so the relationship may not be as beneficial as yesterday.  Time to change.</p>
<p><strong>Building infrastructural architecture independently of functional requirements&#8230;</strong></p>
<p>I am not convinced of the benefit of this approach.  In my limited experience, every business need defines the constraints or needs of the infrastructural architecture.  I find it hard to find the point of departure, yet there is a school of thought that suggests that function is orthogonal to the architecture.  Perhaps I just don&#8217;t understand this.  However from an agile perspective, I want to release early and there are many constraints on infrastructure from the business (for example, administrative processes like procurement of hardware).  I like to understand what these are early on, reach agreement on what we can release at the earliest and design accordingly.  Perhaps the first release is on lightweight infrastructure and that means we &#8220;limit&#8221; scalability.  So, I don&#8217;t design for beyond what I know is real.</p>
<p><strong>Model Driven Architecture &#8230;</strong></p>
<p>My view is more philosophical and abstract.  What is a <em>model</em>?  For me, a model is something intangible.  It is a way we understand something.  But we represent our models in many ways.  Through words in written or spoken conversation, in unstructured pictures, in structured notation like UML, even code is a representation of a model.</p>
<p>What do we mean by <em>driven</em>? I view it as a something that takes an input that produces an output.  In this case, we take an input, the model, and produce an output, an architecture.  So, I take an understanding of problem and use that to derive an architecture.  So, that&#8217;s nothing new here.  However, I don&#8217;t like to confuse driving out an architecture from a representation of the model.  That&#8217;s different.  Now we are going beyond thought processes  into mechanical processes.  Then the challenge is about how to apply the feedback to the representation of the model &#8211; and that is what will make you agile.  Too much for my small brain.</p>
<p><strong>Plumbing &#8230;</strong></p>
<p>Yup, we do too much hand crafted plumbing!  It&#8217;s something that we have been working on for a long, long time.  I think convention over configuration, dependency inversion, meta-programming are all attempts at addressing this problem.  Some early success that I have experienced is on taking a polyglot approach. I am not talking about mixing general purpose languages on one runtime only.  I am also including domain specific languages. I&#8217;ve had some early success where using DSL to describe functional intentions and then generating a large portion of the plumbing.  Where I&#8217;ve suffered is when I mix concepts from different domains.  There is the domain of plumbing and the domain of the business.  Whenever I&#8217;ve mixed the two, it pains later rather than sooner.  Right now, the only way I&#8217;ve had some success is with aspect orientation and meta-programming.</p>
<p><strong>@StatelessSessionBean &#8230;</strong></p>
<p><a href="http://www.psybergate.co.za/opencms/opencms/psybergate-pages/home1.html">Chris Naidoo</a> is right.  That thing called J2EE and subsequent versions is just horribly broken.  It&#8217;s broken encapsulation and a whole lot more.  The fact that we now must use an annotation and not implement an interface is immaterial.  Both result in the same pain &#8211; mixed concepts (see plumbing above).  Annotations should be specific to the business such as <em>@RecalculateCostsOnRerouteOfCargo</em> can be used as an interception point for injecting a rule on a class or method.</p>
<p>I would go even further and say that the POJO JavaBean specification is also broken.  Why on earth <em>must</em> I have a no-argument constructor and accessors and mutators.</p>
<p><strong>Last thoughts &#8230;</strong></p>
<p>I may have missed some of the other discussions but these are the ones that I woke up with this morning. In general, my observation is that we need to be very concrete very early if we want to be agile, even in architecture.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fevents%2Freflections-on-the-jcse-agile-and-architecture-talk%2F&amp;linkname=Reflections%20on%20the%20JCSE%20Agile%20and%20Architecture%20Talk"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/reflections-on-the-jcse-agile-and-architecture-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Technical Debt Does Not Exist</title>
		<link>http://aslamkhan.net/software-development/technical-debt-does-not-exist/</link>
		<comments>http://aslamkhan.net/software-development/technical-debt-does-not-exist/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 22:02:09 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[metaphors]]></category>
		<category><![CDATA[technical debt]]></category>
		<category><![CDATA[zen]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=342</guid>
		<description><![CDATA[Metaphors may be a good way of getting to grips with a new domain.  It allows you to imagine the behavior of something that you don&#8217;t quite understand (yet) in terms of something with which you are quite familiar.  That&#8217;s were it should stop. I hate metaphors that extend beyond their purpose.  Once I have [...]]]></description>
			<content:encoded><![CDATA[<p>Metaphors may be a good way of getting to grips with a new domain.  It allows you to <em>imagine the behavior</em> of something that you don&#8217;t quite understand (yet) in terms of something with which you are quite familiar.  That&#8217;s were it should stop. I hate metaphors that extend beyond their purpose.  Once I have a <em>good enough</em> understanding, I drop the metaphor.  My reason is simple.  Metaphors force me to do a lot of energy sapping context switching.</p>
<p>Technical debt is one of those metaphors that have been extended so far, that it is believed by many to be something tangible.  Let&#8217;s get real here:  Technical debt does not exist.  It is just a metaphor for us to realise that our code base may cost us more money than it should, and that is a future view.  Sometimes our metaphors become euphemisms, and then it is dangerous.  When it comes to technical debt, the less I think of code problems as debt the more I am able to face the problems head on.</p>
<p>Ironically, I did a <a href="http://www.scrum.org.za/events/technical-debt">talk</a> recently on dealing with technical debt.  My fundamental position is simple.  Either your code base has things that exist as a result of broken principles or it does not.  The more principles you break, the more <em>potential</em> problems you have in your code. It is not a problem right now, but it may be a problem in the future.  This future can be a minute away when I run my next test or a year away.  If the future is infinitely far away, then it is not a problem at all.</p>
<p>My first prize is to not break principles, so I don&#8217;t create potential problems.  My second prize is to deal with real problems and just leave the potential problems for the future.</p>
<p>(<strong>Warning</strong>: I&#8217;m drifting into my <a href="http://aslamkhan.net/software-development/coding-for-enlightenment/">enlightenment</a> self-reflection, so feel free to stop reading now.)</p>
<p>If I am part of the exploration that is looking for a solution (living in the moment and not outside it as an observer), then I should be aware of principles that I am breaking and I should change course immediately.  If I am part of the exploration that is dealing with the potential problem that is now a real problem, than I need to understand the principle that was broken and fix the problem by restoring the principle.  Restoring the principle could mean going on a search for the right solution to the original problem, not just trying to fix the problem that is a result of breaking a principle.  This problem that broke the principle may just be the wrong solution that we thought was the right solution because we ignored our principles in the first place.</p>
<p>Hmmm, that&#8217;s an interesting thought.  <a href="http://scrumcoaching.wordpress.com/">Karen Greaves</a> asked me if a re-write can be justified and I mumbled something about technology, etc.  What tripe!  Now I think I&#8217;ve just reflected on when a rewrite is justified.  When refactoring will not fix the broken principle, then the right solution was never discovered in the first instance.  That is also what I mean when I say that clean code is necessary by not sufficient.  At <a href="http://www.factor10.com">factor10</a>, we call this a radical makeover.  Radical makeovers are a viable way of getting rid of real problems, and restoring principles.</p>
<p>Heck!  This blog post is less about technical debt metaphors than I thought.  Oh well, the ride on this journey never stops.</p>
<p>By the way, a huge thank you to <a href="http://www.stevevandermerwe.net/blog/">Steve</a> for helping me realise that all problems come from breaking principles, in code and in life.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Ftechnical-debt-does-not-exist%2F&amp;linkname=Technical%20Debt%20Does%20Not%20Exist"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/technical-debt-does-not-exist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zero to CI in 6 hours</title>
		<link>http://aslamkhan.net/software-development/zero-to-ci-in-6-hours/</link>
		<comments>http://aslamkhan.net/software-development/zero-to-ci-in-6-hours/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 20:53:38 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=357</guid>
		<description><![CDATA[Marius de Beer is crazy for even trying to do this, but it is such a horribly misunderstood space that it deserves an outrageous attempt to nail it.  I&#8217;m talking about the really adventurous deep dive session that will be hosted by Marius at the Scrum Gathering in Cape Town.  If you currently think that [...]]]></description>
			<content:encoded><![CDATA[<p>Marius de Beer is crazy for even trying to do this, but it is such a horribly misunderstood space that it deserves an outrageous attempt to nail it.  I&#8217;m talking about the really adventurous deep dive session that will be hosted by Marius at the <a href="http://www.scrum.org.za/gathering/deep-dives">Scrum Gathering</a> in Cape Town.  If you currently think that continuous integration is a tool, then my advice is simple.  Pay the full fee for the event, sign-up for Marius&#8217; deep dive and sacrifice the second day of the event by going back to your desk and just start doing what  you learnt.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fzero-to-ci-in-6-hours%2F&amp;linkname=Zero%20to%20CI%20in%206%20hours"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/zero-to-ci-in-6-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding for Enlightenment</title>
		<link>http://aslamkhan.net/software-development/coding-for-enlightenment/</link>
		<comments>http://aslamkhan.net/software-development/coding-for-enlightenment/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 10:54:05 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zen]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=345</guid>
		<description><![CDATA[Jimmy Nilsson asked me in an email a few days ago &#8220;How&#8217;s life?&#8221;.  I&#8217;m sure it was just a regular, friendly question, but I gave him a &#8220;life&#8221; answer.  It was not spontaneous but something that has been brooding in me for a while.   It is about things that I have been trying to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimmynilsson.com">Jimmy Nilsson</a> asked me in an email a few days ago &#8220;<em>How&#8217;s life?&#8221;</em>.  I&#8217;m sure it was just a regular, friendly question, but I gave him a <em>&#8220;life&#8221;</em> answer.  It was not spontaneous but something that has been brooding in me for a while.   It is about things that I have been trying to do for a long time.</p>
<p>Here&#8217;s a few splintered thoughts from my email exchange.</p>
<ul>
<li>Enlightened, for me, is about happiness that comes from being content; unenlightened is just trying to be happy.</li>
<li>There are many solutions for every problem, whether I am aware of them or not; and the problem has already chosen the best solution, but I have not found it yet.</li>
<li>Code from my heart because I should trust myself first.</li>
<li>Be part of the exploration, not just an observer.</li>
<li>This moment is more important than trying to figure out how it impacts the future, because I can deal with the future in that future moment.</li>
<li>Passion is constant whether I succeed or fail.</li>
<li>Let the project plan me, by bending to suit the situation not and not bending the situation to suit me.</li>
<li>The code I write knows everything, because every line of code has an impact on someone else or some other piece of code.</li>
</ul>
<p>Now I&#8217;ve decided to actively explore why I write code, or why I wish to continue doing what I am doing.  I am not sure what I will uncover in this exploration, but I know that it will be very personal.  I don&#8217;t even know if it will be worth sharing, that&#8217;s why I am sharing so early.  It just felt right.</p>
<p>I think it will be really tough, but I take solace from my 9 year old son who told his 6 year old sister <em>&#8220;Getting hurt is part of playing&#8221;</em>.</p>
<p>PS: I don&#8217;t think Jimmy will ever ask me a <em>&#8220;How&#8217;s life?&#8221;</em> question again <img src='http://aslamkhan.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fcoding-for-enlightenment%2F&amp;linkname=Coding%20for%20Enlightenment"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/coding-for-enlightenment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Testing is just a laborious pain in the rear</title>
		<link>http://aslamkhan.net/software-development/testing-is-just-a-laborious-pain-in-the-rear/</link>
		<comments>http://aslamkhan.net/software-development/testing-is-just-a-laborious-pain-in-the-rear/#comments</comments>
		<pubDate>Mon, 10 May 2010 12:33:57 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=334</guid>
		<description><![CDATA[I thoroughly enjoyed Karen Greave&#8217;s talk on Agile Testing.  She had just about 100% coverage (pun intended, groan).  Yet, testing is really a pain in the rear.  Testing is execution, and Karen was dead-on right, that automation is the path to follow.  Computers are very good at testing.  A computer does what it is programmed [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_337" class="wp-caption aligncenter" style="width: 510px"><a href="http://aslamkhan.net/wp-content/uploads/2010/05/testing.jpg"><img class="size-full wp-image-337" title="Testing" src="http://aslamkhan.net/wp-content/uploads/2010/05/testing.jpg" alt="" width="500" height="321" /></a><p class="wp-caption-text">No collaboration, no heroes!</p></div>
<p>I thoroughly enjoyed <a href="http://scrumcoaching.wordpress.com/">Karen Greave&#8217;s</a> talk on Agile Testing.  She had just about 100% coverage (pun intended, groan).  Yet, testing is really a pain in the rear.  Testing is execution, and Karen was dead-on right, that automation is the path to follow.  Computers are very good at testing.  A computer does what it is programmed to do, and it can test the way it was programmed to test.  It&#8217;s simple: if testing is your constraint, move that constraint away from testing by automating.</p>
<p>Now, you have to deal with the constraint that shifted to the next point: test authoring.  While testing (i.e. execution) is just a passive, laborious effort, test authoring is a very creative, active exercise.  It is actually an exercise in confirming a shared, common understanding.  <a href="http://en.wikipedia.org/wiki/Kristen_Nygaard">Kristin Nygard</a> said &#8220;To program is to understand&#8221; and test authoring is a programming exercise.  That&#8217;s why outside-in, behavior driven development style scenarios are actually tests, coded in a human language.  The act of authoring a scenario proves your understanding and the expected working of the software.</p>
<p>This is why I separate test execution (passive) from test authoring (active).  And Karen said that early feedback is good (right again), which is why I author my tests very early.  I&#8217;m extreme about this.  I test first.</p>
<div id="attachment_339" class="wp-caption aligncenter" style="width: 510px"><a href="http://aslamkhan.net/wp-content/uploads/2010/05/testing2.jpg"><img class="size-full wp-image-339" title="testing with automation" src="http://aslamkhan.net/wp-content/uploads/2010/05/testing2.jpg" alt="Automation leaves time for collaboration" width="500" height="379" /></a><p class="wp-caption-text">Automation creates time for collaboration</p></div>
<p style="text-align: center;">
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Ftesting-is-just-a-laborious-pain-in-the-rear%2F&amp;linkname=Testing%20is%20just%20a%20laborious%20pain%20in%20the%20rear"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/testing-is-just-a-laborious-pain-in-the-rear/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Two Angles to Sustainable Pace</title>
		<link>http://aslamkhan.net/events/two-angles-to-sustainable-pace/</link>
		<comments>http://aslamkhan.net/events/two-angles-to-sustainable-pace/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 22:28:16 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Conferences, Speaking Gigs, etc.]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=331</guid>
		<description><![CDATA[At the Scrum User Group South Africa meeting last night Marius de Beer did a really good talk about Software Development Practices.  It&#8217;s been a long while since I saw anyone attempt to draw so much from such widely spread corners of wisdom.  In one slide Marius mentioned the practice of Sustainable Pace.  Many take [...]]]></description>
			<content:encoded><![CDATA[<p>At the <a href="http://www.scrum.org.za/events/agile-mindset">Scrum User Group South Africa</a> meeting last night Marius de Beer did a really good talk about Software Development Practices.  It&#8217;s been a long while since I saw anyone attempt to draw so much from such widely spread corners of wisdom.  In one slide Marius mentioned the practice of Sustainable Pace.  Many take the view that this is about cutting back on working overtime and that it supports the principles of energised work, and work-life balance.  Marius did make the same point, and it is correct.</p>
<p>But there is another angle to Sustainable Pace.  As a developer, you need to build a rhythm, or flow.  It&#8217;s a cadence that you establish as you are writing code.  It&#8217;s a cadence that TDD helps you establish itself.  This cadence is also sustainable pace.  And one thing that kills this cadence and your pace in a flash is a mid-stream meeting.</p>
<p>In the panel discussion afterwards, there was a question at the end regarding ways to reduce the number of meetings which I just glossed over.  If you schedule meetings with developers for only the first hour in the morning, you not only reduce the number of meetings but, also, you don&#8217;t destroy the sustainable pace built up from the morning.</p>
<p>So, don&#8217;t think about pace as just working 7 hours a day, it&#8217;s about what you do in the 7 hours that matters.  Get the rhythm going and be anal about things that can kill your flow mid-stream; especially meetings.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fevents%2Ftwo-angles-to-sustainable-pace%2F&amp;linkname=Two%20Angles%20to%20Sustainable%20Pace"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/two-angles-to-sustainable-pace/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Delusion: A firm belief despite contradiction in the face of reality</title>
		<link>http://aslamkhan.net/software-development/delusion-a-firm-belief-despite-contradiction-in-the-face-of-reality/</link>
		<comments>http://aslamkhan.net/software-development/delusion-a-firm-belief-despite-contradiction-in-the-face-of-reality/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 07:36:31 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[DevDays]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=322</guid>
		<description><![CDATA[DevDays 2010 in Cape Town yesterday was slick.  Very slick.  It’s always slick.  Those guys really know how to put an a good show.
Most of the speakers are good.  Most demos were good.  Most jokes were funny.  The food was mostly good. The mood was mostly good too.   And the MS fan club was [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">DevDays 2010 in Cape Town yesterday was slick.  Very slick.  It’s always slick.  Those guys really know how to put an a good show.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Most of the speakers are good.  Most demos were good.  Most jokes were funny.  The food was mostly good. The mood was mostly good too.   And the MS fan club was mostly impressed.  And most noobs were converted for ever.  And the improvements were mostly apologetic of the earlier short comings.  And code that you were promised you would write was mostly minimal.  And most absent was the word design.  Most ignored was TDD.  And most content presumed that we are dumb ass developers that don’t care about good code, good tools, good software.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">If it was not for Bart de Smet’s two sessions on Core .NET 4.0 Enhancements and Language Enhancements in .NET 4.0, the day would have been mostly wasted.  Bart gave me a glimmer of hope, not for MS but for the manner in which he assumed we are not moron developers that can’t think.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The EF4 code first demo was explained completely as if the classes in the model are no different from entities in a table.  You may be have slides with the words “code first models”, but if you don’t actually do it for real, then you’re just leading dataset happy, marginally object oriented developers further away from the truth.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I understand that it’s a marketing game but, come on, MS South Africa, at least pretend that we are capable developers that care about being professional.  We care mostly about design. Mostly about clean code. Mostly about quality.  Mostly about getting projects done on time, within budget and mostly maintenance free.  We care mostly about being agile, being able to refactor code continuously, being able to test first, and not tossing code downstream.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Ahmed’s ping-pong of bugs is so irrelevant, when the developer is test-first infected and the tester is actually your continuous integration server.  Mostly we are developers that test our own code.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Glimmers of hope</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">- IE9 has developer support in mind</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">- EF4 has code first, but still so far from being a decent ORM</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">- DLR has a potential sweet spot</div>
<p><a href="http://www.microsoft.com/southafrica/devdays/default.mspx">DevDays 2010</a> in Cape Town was slick.  Very slick.  You guys really know how to put an a good show.</p>
<p>Most of the speakers were good.  Most demos were good.  Most jokes were funny.  The food was mostly good. The mood was mostly good too.   And the fan club was mostly impressed.  And most noobs were converted forever.  And the new features were mostly so good, apparently, you won&#8217;t have to write so much code anymore.  And the most underused word was design.  Most absent words were TDD, refactoring, quality, and clean!!</p>
<p>I understand that DevDays is a product showcase but, come on, MS South Africa, at least cater for the entire spectrum of developers, just a little bit, and in a responsible manner.  How about pitching content that shows that you do care about design, about clean code and quality.  How pitching the new features in a way that shows a trend towards agility, to being able to refactor code continuously,  to test first and other vital aspects of <em>professional</em> software development.</p>
<p>Let me give you just an example to illustrate what I mean.  The EF4 code first demo was explained completely as if the classes in the model are no different from entities in a table.  Even the language used was &#8220;entities&#8221; and &#8220;keys&#8221;.  I don&#8217;t think I heard the word &#8220;class&#8221; or &#8220;object&#8221; once!  You may have slides with the words “Code First Model”, but if you don’t actually do it for real, then you’re just leading dataset-happy developers that are marginally object-oriented further away from good code and good architecture.  You need to explain why it&#8217;s better:  that it promotes better object orientation, that POCO models disconnected from an ORM can be done test-first, and you can evolve your model, instead of designing up-front, blah, blah, blah.</p>
<p>Another time there was a ping-pong table with a developer at one end and tester at another with a bug being batted between them.  That pulled quite a laugh from just about everyone.  While that is reality in many organisations, there are many of us that test our own code and deal with our own bugs.  The tester that we toss our code to is our automated continuous integration server.  Tossing code downstream when it&#8217;s too late for reprise is not very professional.  How about focusing on the testing tool, as opposed to pitching it in a manner that makes everyone believe that dealing with the bug downstream is just the way its meant to be.</p>
<p>Sure, I know that you need to show off the latest cool things and evangelise your products, but there is a sector of developers that you are blatantly ignoring.  It is the sector that is, perhaps, the most influential amongst other developers. We are those developers that value our craft of software development.  We evangelise the craft and the value that it brings to our lives, our teams, our projects, our clients and our organisations.</p>
<p>Perhaps I am just delusional.</p>
<p>Oh well, so long and thanks for the fish.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fdelusion-a-firm-belief-despite-contradiction-in-the-face-of-reality%2F&amp;linkname=Delusion%3A%20A%20firm%20belief%20despite%20contradiction%20in%20the%20face%20of%20reality"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/delusion-a-firm-belief-despite-contradiction-in-the-face-of-reality/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Beware the Big Industry Specification Up Front</title>
		<link>http://aslamkhan.net/software-development/beware-the-big-industry-specification-up-front/</link>
		<comments>http://aslamkhan.net/software-development/beware-the-big-industry-specification-up-front/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 13:38:53 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[IAA]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[SCA]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=320</guid>
		<description><![CDATA[If you have done any development in Java-land, then surely you came across the dreaded three letter word EJB.  And you were most likely duped into thinking it was great.  I did!  Then I realised it was just a specification.  It was a great big, furry, non-executable PDF.  A specification for managing objects but the [...]]]></description>
			<content:encoded><![CDATA[<p>If you have done any development in Java-land, then surely you came across the dreaded three letter word EJB.  And you were most likely duped into thinking it was great.  I did!  Then I realised it was just a specification.  It was a great big, furry, non-executable PDF.  A specification for managing objects but the creating of these objects were just horrid.  EJB3 was a clean-up exercise, but still far from nice.</p>
<p>A couple of months ago I ran into OSGi again, but with SCA on top of it.  Horrid!  SCA is yet another warm and huggable specification.  But it&#8217;s so ugly to work with.  Everything feels so over the top complicated and restrictive in expression.  And the tools that I saw built on this SCA implementation were just awful.  Beyond being buggy, the enforced paradigm was just counter-productive.  When will tool vendors realise that talented developers do not want a diagramming interface to write code?  But the root cause is that the SCA specification describes the diagramming notation. Yuck!  Same reason that I do UML sketches with a lot of bastardisations with no tie-in with my code.</p>
<p>And let me not go into domain specific big vendor specs, designs, blue prints, etc. like IBM&#8217;s Insurance Application Architecture (IAA). Nasty stuff.</p>
<p>More commonly, I see so many self-confessed agile teams fearing the dreaded big design up front, and the big requirements up front document thrown over the wall.  If there is such a fear for big-x-up-front, why is there no fear for big-industry-and-vendor-specs-up-front like EJB, SCA, IAA, etc?</p>
<p>Why?</p>
<p>There are deep lessons and principles lurking beneath this surface.  Agile demands you to be a lot more aware of actions, decisions and consequences.</p>
<p>So why do you choose not to be agile when you are trying so hard to be agile?</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fbeware-the-big-industry-specification-up-front%2F&amp;linkname=Beware%20the%20Big%20Industry%20Specification%20Up%20Front"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/beware-the-big-industry-specification-up-front/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Last Sprint Challenge</title>
		<link>http://aslamkhan.net/software-development/the-last-sprint-challenge/</link>
		<comments>http://aslamkhan.net/software-development/the-last-sprint-challenge/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 13:25:01 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Agile]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=316</guid>
		<description><![CDATA[In agile economics we often talk about stopping the project before it 100% complete; when you reach a point of diminishing returns; i.e. that agile fail-safe point when the cost of producing software is greater than the value of the software itself.  Kind of.
So let&#8217;s try a weird-ish thought experiment.  You&#8217;re in such a project [...]]]></description>
			<content:encoded><![CDATA[<p>In agile economics we often talk about stopping the project before it 100% complete; when you reach a point of diminishing returns; i.e. that agile fail-safe point when the cost of producing software is greater than the value of the software itself.  Kind of.</p>
<p>So let&#8217;s try a weird-ish thought experiment.  You&#8217;re in such a project and you&#8217;ve reached this point.  You are about to start the dead last sprint and then it&#8217;s over.  The team will be disbanded, but the software will live on.</p>
<p>You have just one more opportunity to work on this product, with this code base, with the people on this team.  Your legacy is in this software.  Every decision you made is sitting in a vast time line of deltas in your version control repository, all the way back to day 0.</p>
<p>What do <strong>you</strong> choose to do in this last sprint?</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fthe-last-sprint-challenge%2F&amp;linkname=The%20Last%20Sprint%20Challenge"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/the-last-sprint-challenge/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
