<?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; BDD</title>
	<atom:link href="http://aslamkhan.net/tag/bdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://aslamkhan.net</link>
	<description>Ubuntu coding ... for your friends</description>
	<lastBuildDate>Mon, 24 Oct 2011 07:07:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Modeling out Loud Deep Dive</title>
		<link>http://aslamkhan.net/events/modeling-out-loud-deep-div/</link>
		<comments>http://aslamkhan.net/events/modeling-out-loud-deep-div/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 22:24:28 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[intentions]]></category>
		<category><![CDATA[requirements]]></category>
		<category><![CDATA[stories]]></category>
		<category><![CDATA[Ubiquitous Language]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=371</guid>
		<description><![CDATA[For those of you that attended the Modeling out Loud deep dive at the S.Africa Scrum Gathering today, here are some things that I discussed.  It&#8217;s in no particular order, and it only makes sense if you attended the session. BDD Stories that are authored outside the team contributes to a hand-off which influences design [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you that attended the Modeling out Loud deep dive at the S.Africa Scrum Gathering today, here are some things that I discussed.  It&#8217;s in no particular order, and it only makes sense if you attended the session.</p>
<ul>
<li>BDD Stories that are authored outside the team contributes to a hand-off which influences design decisions.</li>
<li>Because we understand something does not mean that we know how to design it.</li>
<li>Be aware of when you are analysing and when you are designing.</li>
<li>Be concrete and abstract late.</li>
<li>Use the scenarios to close the loop with product owners, stake holders, etc.</li>
<li>Developers should write BDD stories and scenarios.</li>
<li>We are less ignorant at the end of the sprint than at the beginning.</li>
<li>Use code to close the feedback loop for your story.</li>
<li>A story and it&#8217;s scenarios can be a representation of your model, just like a picture, UML, test code, production code.</li>
<li>Seek out the behavior and express intentions.</li>
<li>Use the value statement to explore alternative needs.</li>
<li>Product owners should not write BDD stories</li>
<li>Recycle stories if there are scenarios that you cannot commit to.</li>
<li>Keep out the technical jargon.  The moment you get technical, then the story shifts to an implementation.</li>
<li>Evolve and accept that it is ok to change &#8230; your story, your scenario, code, anything.</li>
<li>Login is not a story</li>
</ul>
<p>There was a lot more which we all discussed, so feel free to add what you got out of it as a comment for others to grab.</p>
<p>The slide deck which contained the code example is available at <a href="http://bit.ly/bhNkvQ">http://bit.ly/bhNkvQ</a>.</p>
<p>And lastly, thanks for joining in.  I sincerely appreciate you making the time.</p>
<p>Remember that writing stories is a really difficult thing to learn, because is design is hard.  Persevere.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Fmodeling-out-loud-deep-div%2F&amp;title=Modeling%20out%20Loud%20Deep%20Dive" id="wpa2a_2"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/modeling-out-loud-deep-div/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Modeling out Loud</title>
		<link>http://aslamkhan.net/events/modeling-out-loud/</link>
		<comments>http://aslamkhan.net/events/modeling-out-loud/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 20:45:51 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[Ubiquitous Language]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=354</guid>
		<description><![CDATA[I will be running a 6 hour long session at the Scrum Gathering in Cape Town in September titled Modeling Out Loud.  I&#8217;m now convinced that the Scrum tribe are weird.  They call these sessions Deep Dives.  Presumably, you need to carry enough oxygen to survive the session. I think I&#8217;m going out on limb [...]]]></description>
			<content:encoded><![CDATA[<p>I will be running a 6 hour long session at the <a href="http://www.scrum.org.za/gathering/deep-dives">Scrum Gathering</a> in Cape Town in September titled <em>Modeling Out Loud</em>.  I&#8217;m now convinced that the Scrum tribe are weird.  They call these sessions Deep Dives.  Presumably, you need to carry enough oxygen to survive the session.</p>
<p>I think I&#8217;m going out on limb here because I will be challenging the value of Product Owners writing stories.  I&#8217;m also suggesting that when Product Owners write stories riddled with behavior then developers are disconnected from domain experts and you regress into a waterfall mode of execution fronted by a Scrum Board.  So be prepared to experiment with me and turn up your self-reflection to maximum level because we will challenge many assumptions.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Fmodeling-out-loud%2F&amp;title=Modeling%20out%20Loud" id="wpa2a_4"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/modeling-out-loud/feed/</wfw:commentRss>
		<slash:comments>0</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[Software 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 a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Ftesting-is-just-a-laborious-pain-in-the-rear%2F&amp;title=Testing%20is%20just%20a%20laborious%20pain%20in%20the%20rear" id="wpa2a_6"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></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>Flowing in the Waves</title>
		<link>http://aslamkhan.net/software-development/flowing-in-the-waves/</link>
		<comments>http://aslamkhan.net/software-development/flowing-in-the-waves/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 10:48:18 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[Ubiquitous Language]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=274</guid>
		<description><![CDATA[I just had a quick Google Wave experience with Willem Odendaal and the experience of seeing the other person type was a bit weird for both of us. Lesson to both of us: Think before you wave! Also, I have to remind myself to not think about waves as email, or tweets or instant messages. [...]]]></description>
			<content:encoded><![CDATA[<p>I just had a quick <a href="http://wave.google.com">Google Wave</a> experience with <a href="http://thecodersperspective.blogspot.com/">Willem Odendaal</a> and the experience of seeing the other person type was a bit weird for both of us.</p>
<p>Lesson to both of us: <strong>Think before you wave!</strong></p>
<p>Also, I have to remind myself to not think about waves as email, or tweets or instant messages. It&#8217;s just something else! And it has a different spin on the time dimension of communication.</p>
<p>I suspect that Google Wave will force us to be better at the way we communicate, how we express ourselves and the relevance of the content to the conversation.  I can imagine a wave growing over time that describes a story started by a domain expert with feedback from a developer and a nice cadence emerging between them.  It all is in one nice wave, with playback that tells you how you got there in the first place.  I wonder if this will have an influence on effectiveness of remote pairing?</p>
<p>I also have a feeling that if you&#8217;re a waterfall type of person, then waves will not have an impact on you.  It&#8217;s all about feedback and dealing with the changes, which is at the heart of agility.</p>
<p>Now I just need someone to wave with to try out a slightly modified development flow.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fflowing-in-the-waves%2F&amp;title=Flowing%20in%20the%20Waves" id="wpa2a_8"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/flowing-in-the-waves/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Writing Specs is Writing Code is Designing</title>
		<link>http://aslamkhan.net/software-development/writing-specs-is-writing-code-is-designing/</link>
		<comments>http://aslamkhan.net/software-development/writing-specs-is-writing-code-is-designing/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 11:45:35 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[adapt]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[balance]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=188</guid>
		<description><![CDATA[A team that I am coaching has settled on using BDD stories and scenarios for describing their requirements and specifications.  They&#8217;ve also chosen cucumber as their acceptance testing tool.  All well and good, but they are making very slow progress and seem to be really struggling with the change in workstyle.  I think I&#8217;ve spotted [...]]]></description>
			<content:encoded><![CDATA[<p>A team that I am coaching has settled on using <a href="http://dannorth.net/whats-in-a-story">BDD</a> stories and scenarios for describing their requirements and specifications.  They&#8217;ve also chosen <a href="http://wiki.github.com/aslakhellesoy/cucumber">cucumber</a> as their acceptance testing tool.  All well and good, but they are making very slow progress and seem to be really struggling with the change in workstyle.  I think I&#8217;ve spotted the reason for this.</p>
<p>The feedback loop is missing.  They view the stories as a spec that has been handed down.  And they have not made the connection that spec writing is design work that is intended to clearly illustrates concepts in a domain.  It is a form of writing code.  But it&#8217;s just that this code is, maybe, non-executable.</p>
<p>Here&#8217;s my workflow and how I close the loop.</p>
<ul>
<li>write story and scenario</li>
<li>Sketch a design if needed &#8211; helps when pairing to be on the same page.</li>
<li>Start writing test for scenario</li>
<li>ooops &#8230; test is getting complicated? stuck?</li>
<li>maybe the domain is not understood enough? Dig deeper, improve scenario, design (as needed) and continue writing test</li>
<li>or maybe the scenario was badly written? Ignore scenario structure, continue writing test.  Refactor scenario later.  We&#8217;re in deep discovery mode here.</li>
<li>get test to pass</li>
<li>refactor code</li>
<li>refactor scenario</li>
<li>&#8230; cycle the red-green-refactor until happy.</li>
</ul>
<p>Acknowledging when you&#8217;re in discovery mode and knowing that you are allowed to refactor requirements is the trick.  Nothing is cast in concrete.  That&#8217;s why I like frequent feedback loops with tight turning circles.</p>
<p>No feedback loop, no progress.</p>
<p>BTW, I really don&#8217;t like explaining such things as flow-charts and sequences.  You got to find your own style.  It&#8217;s not a recipe or rules thing.  The above is something that is about as close to what I do but it changes when the need arises.  That&#8217;s also another key feature of being agile &#8211; adapt or die in the waterfall.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fwriting-specs-is-writing-code-is-designing%2F&amp;title=Writing%20Specs%20is%20Writing%20Code%20is%20Designing" id="wpa2a_10"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/writing-specs-is-writing-code-is-designing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Correcting my Irresponsibility</title>
		<link>http://aslamkhan.net/software-development/correcting-my-irresponsibility/</link>
		<comments>http://aslamkhan.net/software-development/correcting-my-irresponsibility/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 08:54:58 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[requirements]]></category>
		<category><![CDATA[SPIN]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=147</guid>
		<description><![CDATA[I have received a lot of positive feedback from many new faces for the SPIN talk I did this week.  Thank you. But I am worried.  In the 45 minute talk, I did 5 minutes with Ruby code and cucumber.  Now so many people want to use cucumber.  Good for cucumber. I think I should [...]]]></description>
			<content:encoded><![CDATA[<p>I have received a lot of positive feedback from many new faces for the <a href="http://www.spin.org.za/cms/node/14">SPIN talk</a> I did this week.  Thank you.</p>
<p>But I am worried.  In the 45 minute talk, I did 5 minutes with Ruby code and cucumber.  Now so many people want to use cucumber.  Good for cucumber.</p>
<p>I think I should have stressed my point a <span style="text-decoration: underline;">lot</span> more.</p>
<p><strong>Take-Home #1:</strong> Find a way to make the life cycle of requirements part of your workflow.  Should it be a hard dependency?  If the requirements change, then do you want the build to break?  When requirements have a life cycle independent of the code&#8217;s life cycle, then you are opening yourself to waterfall-ish problems.</p>
<p><strong>Take-Home #2:</strong> Agile in name and process can only take you so far.  You have to live it in your head and in your life.  For me, agile has a very Zen-like characteristic.  You need to live in the moment, absorb the feedback in that moment and adjust your next action in response to all this stimuli.  We are just like an amoeba that reacts to changes in pH.  But the difference is that we are capable of controlling our re-action or subsequent action.  An amoeba is agile by process only.</p>
<p><strong>Take-Home #3:</strong> BDD can help you to change your coding and architecture attitude for the better.  It is subtle in its intrusion, but profound in its impact.  The subtley makes it dangerous.  It is not about the clever use of words, it is about the way those words impacts on your code and your resulting architecture.  So find your own cucumber and that does not mean you should go looking for another gherkin.</p>
<p>Perhaps I was not responsible enough.  My actions and words have affected people in a way that I did not intend.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fcorrecting-my-irresponsibility%2F&amp;title=Correcting%20my%20Irresponsibility" id="wpa2a_12"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/correcting-my-irresponsibility/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enterprise Scrum and Killing the Stickman</title>
		<link>http://aslamkhan.net/events/enterprise-scrum-and-killing-the-stickman/</link>
		<comments>http://aslamkhan.net/events/enterprise-scrum-and-killing-the-stickman/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 11:27:10 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[SPIN]]></category>
		<category><![CDATA[use cases]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=139</guid>
		<description><![CDATA[At the 45th SPIN meeting in Cape Town tomorrow, I will be sharing the &#8220;stage&#8221; with Karen Greaves.  Karen will be talking about the lessons she has learned in rolling out Scrum to a large enterprise.  I have a feeling that it is about scaling Scrum out to more than 10 people.  Karen has done [...]]]></description>
			<content:encoded><![CDATA[<p>At the <a href="http://www.spin.org.za/cms/node/14">45th SPIN meeting</a> in Cape Town tomorrow, I will be sharing the &#8220;stage&#8221; with <a href="http://www.linkedin.com/in/karengreaves">Karen Greaves</a>.  Karen will be talking about the lessons she has learned in rolling out Scrum to a large enterprise.  I have a feeling that it is about scaling Scrum out to more than 10 people.  Karen has done this for 80+ people and I am certain that her experiences will reach an audience outside of Scrum circles as well.</p>
<p>I will also be giving a talk about Agile Requirements.  It&#8217;s about behavior driven stories that go beyond traditional, fully dressed used cases.  However, I will focus a lot more about the process and thinking behind this approach as opposed to the code behind the stories.</p>
<p>I always meet very interesting people at SPIN.  Please take 2 hours from your evening and join us for some great geek chat at the Bandwidth Barnyard at 6.30pm on 15 April.</p>
<p><strong>Update. </strong>You can get the presentation <a href="http://aslamkhan.net/presentations/ExecutableRequirements.zip">here</a>.  The size is optimized for iPOD and is quite viewable on your desktop as well.  The tiny bit of ruby code is included in the zip as well.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Fenterprise-scrum-and-killing-the-stickman%2F&amp;title=Enterprise%20Scrum%20and%20Killing%20the%20Stickman" id="wpa2a_14"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/enterprise-scrum-and-killing-the-stickman/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Measuring the Clarity of Requirements</title>
		<link>http://aslamkhan.net/software-development/measuring-the-clarity-of-requirements/</link>
		<comments>http://aslamkhan.net/software-development/measuring-the-clarity-of-requirements/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 12:47:41 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[requirements]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[use cases]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=121</guid>
		<description><![CDATA[The last two geeky conversations I had, stumbled upon the same thing &#8211; how do you measure the effectiveness of requirements in describing the business to the business and describing the specification to the developer? So, I posed the question &#8220;How far away are you from executing your requirements?&#8221;. If you are going to go [...]]]></description>
			<content:encoded><![CDATA[<p>The last two geeky conversations I had, stumbled upon the same thing &#8211; how do you measure the effectiveness of requirements in describing the business to the business and describing the specification to the developer?</p>
<p>So, I posed the question &#8220;How far away are you from executing your requirements?&#8221;.  If you are going to go through various steps and stages to get to compilation and then execution, then every step is an opportunity for valuable information being lost in translation.  If you can compile your requirements immediately then nothing will be lost.</p>
<p>Each additional step between requirements description and compilation and execution is an opportunity to confuse the user and the developer and everyone in between.  That&#8217;s why fully dressed <a href="http://en.wikipedia.org/wiki/Use_case">use cases</a> are not so effective as fully dressed <a href="http://dannorth.net/introducing-bdd">behavior driven stories</a>.  And that&#8217;s why BDD is very agile and a great asset in DDD and use cases just don&#8217;t cut it anymore.</p>
<p>Right now, my favorite tool is <a href="http://wiki.github.com/aslakhellesoy/cucumber">Cucumber</a>.  I can execute the requirements and that raises the clarity ranking of my requirements super high.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fmeasuring-the-clarity-of-requirements%2F&amp;title=Measuring%20the%20Clarity%20of%20Requirements" id="wpa2a_16"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/measuring-the-clarity-of-requirements/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Heck! We should have paid attention that day.</title>
		<link>http://aslamkhan.net/software-development/heck-we-should-have-paid-attention-that-day/</link>
		<comments>http://aslamkhan.net/software-development/heck-we-should-have-paid-attention-that-day/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 14:46:11 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=90</guid>
		<description><![CDATA[I&#8217;ve been doing some internal DSL coaching recently, and my coaching-partner and I have been working BDD/TDD style.  It turned out to be quite a nice experience overall.  We started with a Cucumber based feature that described the behavior of a typical DSL script and we drove it down into rpsec where we tested each [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing some internal DSL coaching recently, and my coaching-partner and I have been working BDD/TDD style.  It turned out to be quite a nice experience overall.  We started with a <a href="http://wiki.github.com/aslakhellesoy/cucumber">Cucumber</a> based feature that described the behavior of a typical DSL script and we drove it down into <a href="http://rspec.info/">rpsec</a> where we tested each little part of the script.  In the end, I achieved what I set out: the person I was coaching grokked the whole <em>&#8220;code is data&#8221;</em> idea behind DSLs.</p>
<p>Then I started thinking about what it takes to coach external DSLs.  I got really scared &#8211; parsers, generators, abstract syntax trees.  Those were things that most people wanted to forget about the day after they wrote the exam for that horrible semester course in university.  What makes it worse is that I never did that in university &#8211; I did Electronic Engineering and we spent our coding time figuring out how to do Fast Fourier Transforms on digital signals.</p>
<p>But when I look at the progress that is being made in language workbenches to help us create DSLs, then I reckon we should dust off those books and start paying attention again.  Some of these language workbenches still leverage a host language such as Java or C#, but the act of using a structural editor that edits the AST directly is strangely weird.  But, some refactorings are just not a problem anymore.  For example, if you are changing the node on a tree, then all the references to that node are automatically aware of it.  Compare that to a text editor where you need refactoring wizardry in the tools to make sure all references are updated neatly.</p>
<p>I think that language workbenches may be a great tool for coaching DSLs because the things that made your head spin during that lex and yacc week, are made a whole lot simpler.  You can focus on designing the language and walk into ASTs with less fear.  But, be warned &#8212; language design is not easy, and you still need to know about ASTs and parsers and generators.  In fact, just write a parser and a generator and it will be a learning experience that goes beyond DSLs.  Better still, do it BDD/TDD style.</p>
<p>The relevancy of language oriented programming is just going to continually increase.  Those previously <em>&#8220;irrelevant&#8221;</em> courses are important again.  Watch out, the gap just got wider.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fheck-we-should-have-paid-attention-that-day%2F&amp;title=Heck%21%20We%20should%20have%20paid%20attention%20that%20day." id="wpa2a_18"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/heck-we-should-have-paid-attention-that-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Øredev Presentations</title>
		<link>http://aslamkhan.net/events/oredev-presentations/</link>
		<comments>http://aslamkhan.net/events/oredev-presentations/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 21:30:43 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[aspects]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[factor10]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[oredev]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=62</guid>
		<description><![CDATA[My presentations from Oredev are finally available.  After working through almost all the export options on Keynote, I have settled on QuickTime as the distro format.  The &#8220;flying code&#8221; in the aspects presentation worked out best with QuickTime.  Note that it&#8217;s not a continuous playback and you have to click-through each frame. Solving Domain Problems [...]]]></description>
			<content:encoded><![CDATA[<p>My presentations from Oredev are finally available.  After working through almost all the export options on Keynote, I have settled on QuickTime as the distro format.  The &#8220;flying code&#8221; in the aspects presentation worked out best with QuickTime.  Note that it&#8217;s not a continuous playback and you have to click-through each frame.</p>
<ul>
<li><strong>Solving Domain Problems with Aspects </strong>has a couple of slides with repeated transitions (courtesy of the export <img src='http://aslamkhan.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  ).  This one has the <em>flying code</em>, as <a title="Claudio Perrone's Blog" href="http://www.claudioperrone.com">Claudio Perrone</a> calls it!  And it is the presentation that lead to the chat with <a href="http://ayende.com">Ayende Rahien</a>.  He has done something similar in C# <a href="http://ayende.com/Blog/archive/2008/11/23/aspects-of-domain-design.aspx">here</a>. <span style="color: #808080;">- 29.1MB @ <span style="color: #999999;"><a href="http://aslamkhan.net/wp-content/uploads/2008/11/SolvingDomainProblemsWithAspects.mov">http://aslamkhan.net/wp-content/uploads/2008/11/SolvingDomainProblemsWithAspects.mov</a></span> </span></li>
</ul>
<ul>
<li><strong>Managing Diversity in Agile Teams</strong> was inspired by Claudio&#8217;s presentation style.  Highly visual with minimal text.  It&#8217;s about story telling, movie script style and not about bullet point presentations.  Thanks, Claudio! <span style="color: #808080;">- 16.6MB @ </span><span style="color: #808080;"><span style="color: #999999;"><a href="http://aslamkhan.net/wp-content/uploads/2008/11/ManagingDiversityInAgileTeams.mov">http://aslamkhan.net/wp-content/uploads/2008/11/ManagingDiversityInAgileTeams.mov</a></span></span><a href="http://aslamkhan.net/wp-content/uploads/2008/11/ManagingDiversityInAgileTeams.mov"></a></li>
</ul>
<ul>
<li><strong>Bootstrapping your SOA Project</strong> has the slides for the workshop that I ran.  It&#8217;s a mixture of traditional and visual.  The traditional is used purely for reference / take-home material. <span style="color: #808080;">- 13.5MB @ </span><span style="color: #808080;"><span style="color: #999999;"><a href="http://aslamkhan.net/wp-content/uploads/2008/11/BootstrappingYourSOAProject.mov">http://aslamkhan.net/wp-content/uploads/2008/11/BootstrappingYourSOAProject.mov</a></span></span></li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Foredev-presentations%2F&amp;title=%C3%98redev%20Presentations" id="wpa2a_20"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/oredev-presentations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://aslamkhan.net/wp-content/uploads/2008/11/SolvingDomainProblemsWithAspects.mov" length="30585840" type="video/quicktime" />
<enclosure url="http://aslamkhan.net/wp-content/uploads/2008/11/ManagingDiversityInAgileTeams.mov" length="17409202" type="video/quicktime" />
<enclosure url="http://aslamkhan.net/wp-content/uploads/2008/11/BootstrappingYourSOAProject.mov" length="14184983" type="video/quicktime" />
		</item>
	</channel>
</rss>

