<?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>rob bowley &#187; toyota</title>
	<atom:link href="http://blog.robbowley.net/tag/toyota/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.robbowley.net</link>
	<description>adventures in extreme programming</description>
	<lastBuildDate>Thu, 15 Jul 2010 08:12:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What&#8217;s the difference between Lean and Agile?</title>
		<link>http://blog.robbowley.net/2009/06/23/whats-the-difference-between-lean-and-agile/</link>
		<comments>http://blog.robbowley.net/2009/06/23/whats-the-difference-between-lean-and-agile/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 08:09:59 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[lean]]></category>
		<category><![CDATA[toyota]]></category>

		<guid isPermaLink="false">http://blog.robbowley.net/?p=696</guid>
		<description><![CDATA[There isn&#8217;t any.
Certainly not enough to be able to draw a clear line between the two and start comparing the benefits of one against the other. Daniel Jones, the author of The Machine That Changed the World did a keynote at XPDay2008 and said from what he saw there wasn&#8217;t really much difference, apart from [...]]]></description>
			<content:encoded><![CDATA[<p>There isn&#8217;t any.</p>
<p>Certainly not enough to be able to draw a clear line between the two and start comparing the benefits of one against the other. Daniel Jones, the author of The Machine That Changed the World did a keynote at XPDay2008 and said from what he saw there wasn&#8217;t really much difference, apart from the name. In fact, when they were looking for a name for Lean they thought about using Agile.</p>
<p>Agile came from Lean, the related processes came from people studying Demming, The Toyota Production System or through convergent evolution. The two guys who invented Scrum are Japanese and that&#8217;s no coincidence.  When I started reading about Toyota and Demming it all simply made sense to me and explained where Agile came from.</p>
<p>Then I found an article written by Craig Larman on the history of iterative development and that wrapped it up: <a href="http://www2.umassd.edu/SWPI/xp/articles/r6047.pdf">http://www2.umassd.edu/SWPI/xp/articles/r6047.pdf</a></p>
<p>There is no point spending any time discussing and trying to find differences between what is essentially the same thing just written in a different way.</p>
<p>It reminds me of how the Jews and Christians went their separate ways and then came the Muslims and then they split up into the Sunni and Shia&#8217;s. They&#8217;ve all been fighting bitterly for the last 2000 years but all worship the same god. Go figure!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.robbowley.net/2009/06/23/whats-the-difference-between-lean-and-agile/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Snapshot of my team&#8217;s current practices</title>
		<link>http://blog.robbowley.net/2009/06/22/snapshot-of-current-practices/</link>
		<comments>http://blog.robbowley.net/2009/06/22/snapshot-of-current-practices/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 08:10:59 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[toyota]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://blog.robbowley.net/?p=543</guid>
		<description><![CDATA[It seems these days there are countless methodologies, processes and practices to choose from when developing software and, somewhat ironically, the list seems to be growing at the rate of Moore&#8217;s law. I&#8217;ve read about, discussed, been on courses and been to conferences about a lot of them and the thing I&#8217;ve consistently found most [...]]]></description>
			<content:encoded><![CDATA[<p>It seems these days there are countless methodologies, processes and practices to choose from when developing software and, somewhat ironically, the list seems to be growing at the rate of Moore&#8217;s law. I&#8217;ve read about, discussed, been on courses and been to conferences about a lot of them and the thing I&#8217;ve consistently found most useful is talking to other practitioners about what they&#8217;re doing and what&#8217;s working (or not working) for them.</p>
<p>Recently there&#8217;s been a lot of (and subsequently <a href="http://www.xprogramming.com/blog/needles/my-named-cloud-is-better-than-your-named-cloud.htm">criticism of</a>) debate on message boards and blogs about the relative benefits of <a href="http://www.google.co.uk/search?q=agile+vs+scrum+vs+kanban">one paradigm versus the other</a>. <em> </em>Personally I don&#8217;t care much for subscribing to any particular paradigm and am much more interested in what works and what doesn&#8217;t (and in which circumstances) so my response is to publish what my team and company is <em>actually doing right now. </em>This is a snapshot of our current practices. Ask me again in 6 months and hopefully I&#8217;ll show you something very different.</p>
<p>The inspiration and influences for the way we work mostly come from <a href="http://agilemanifesto.org/">Agile</a>, <a href="http://www.controlchaos.com/">Scrum</a>, <a href="http://www.extremeprogramming.org/">Extreme Programming</a>, <a href="http://manifesto.softwarecraftsmanship.org/">Software Craftsmanship</a>, <a href="http://www.lean.org/">Lean</a>, <a href="http://www.amazon.co.uk/Lean-Software-Development-Agile-Toolkit/dp/0321150783">Lean Software Development</a>, <a href="http://www.limitedwipsociety.org/">Kanban Software Development</a> and <a href="http://www.amazon.co.uk/Toyota-Way-Management-Principles-Manufacturer/dp/0071392319">The Toyota Way</a>. It is all and none of these things.</p>
<h3><span style="font-weight: normal;">Context</span></h3>
<p>We are a small to medium size &#8220;start up&#8221; organisation working in the new media industry. The company employs around 60 people mainly based in the UK. The development department numbers around 20 co-located people. Agile practices are a relatively new introduction and the previous approach was of the typically chaotic type familiar to young businesses.  We mainly work in .Net using C# but also dabble in Ruby, Javascript and UI languages. The rest of the article mostly relates specifically to one of the teams working within the department but also addresses some of the practices of the department as a whole.</p>
<h3><span style="font-weight: normal;">Team</span></h3>
<p>The team is made up of 4-5 developers and a tester. There is no project manager at the team level &#8211; in the spirit of <a href="http://agilemanifesto.org/principles.html">self-organisation</a> (principle 11) the duties traditionally the responsibility of a PM are shared between the team members. The <a href="http://www.mountaingoatsoftware.com/product-owner">Product Owner</a> role is shared between the stakeholders within the organisation for the products the team is responsible for.</p>
<h3><span style="font-weight: normal;">Iterations</span></h3>
<p>We currently work in 1 week <a href="http://en.wikipedia.org/wiki/Iterative_and_incremental_development">Iterations</a>. It&#8217;s a new team who are also new to many of the agile concepts and doing this enables us to <a href="http://en.wikipedia.org/wiki/Heijunka">control the amount of work in progress</a>, focus on delivery, improve our <a href="http://www.codinghorror.com/blog/archives/000931.html">discipline</a> and most importantly have short feedback cycles so <a href="http://en.wikipedia.org/wiki/The_Toyota_Way#Section_IV:_Continuously_Solving_Root_Problems_Drives_Organizational_Learning">improvements</a> can be discussed and applied frequently. The downside is the overhead created by the amount of meetings. Once we&#8217;re comfortable the team is working well together we will have the opportunity to change this if desired (e.g. <a href="http://en.wikipedia.org/wiki/Continuous_Flow_Manufacturing">Continuous Flow</a>, changing the iteration length, changing the frequency of meetings).</p>
<h3><span style="font-weight: normal;">Meetings</span></h3>
<p>Each iteration we have the following meetings:</p>
<p><strong>Work Prioritisation</strong> &#8211; occurs iteration minus one. Stakeholders come together to raise and prioritise work not yet commited to.<br />
<strong>Requirements Gathering</strong> &#8211; occurs ad hoc when necessary. All the team is required to attend along with the customer/s to bash out requirements for work prioritised in the prioritisation meeting.<br />
<strong>Planning</strong> &#8211; occurs at the beggining of the iteration. Prioritised features (MMFs) which have been analysed are broken down into stories, discussed, estimated and commited to based on our current <a href="http://www.scrumalliance.org/articles/39-glossary-of-scrum-terms#1110">velocity</a> (avg. over last 6 weeks)<br />
<strong><a href="http://www.think-box.co.uk/blog/2006/05/daily-stand-up-scrum-meeting.html"> Stand Up</a></strong> &#8211; occurs daily at 10am at the task board. Anyone outside the team is welcome to watch<br />
<strong><a href="http://retrospectivewiki.org/"> Retrospective</a></strong> &#8211; occurs at the end of the iteration. Any actions from the meeting are to be completed by the end of the next iteration.</p>
<h3><span style="font-weight: normal;">Requirements</span></h3>
<p><a href="http://blog.robbowley.net/wp-content/uploads/2009/06/uml.gif"><img class="alignright size-medium wp-image-686" style="border: 2px solid orange;" title="uml" src="http://blog.robbowley.net/wp-content/uploads/2009/06/uml-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Features are requested at the prioritisation session and use the <a href="http://en.wikipedia.org/wiki/User_story">User Story</a> format.</p>
<p>More detailed requirements are gathered during the requirements meetings mentioned above, with the customer/s and all team members present. We use whiteboards to bash out the requirements and convert them into acceptance criteria using the &#8220;<a href="http://dannorth.net/introducing-bdd">Given, When, Then</a>&#8221; format. We have a <a href="http://blog.robbowley.net/2009/04/29/team-principles/">rule</a> that no work can be commited to unless we&#8217;re happy we have a clear understanding of the requirements.</p>
<h3><span style="font-weight: normal;">Task Board</span></h3>
<p><a href="http://blog.robbowley.net/wp-content/uploads/2009/06/taskboard.jpg"><img class="alignnone size-medium wp-image-675" title="taskboard" src="http://blog.robbowley.net/wp-content/uploads/2009/06/taskboard-300x181.jpg" alt="" width="300" height="181" /></a></p>
<p>The task board is essentially a <a href="http://jamesshore.com/Blog/Kanban-Systems.html">Kanban</a> board with each stage of the delivery process separated into columns. We have an implicit limit of 2 stories in active, but otherwise have not applied limits to any other columns. Features (<a href="http://www.netobjectives.com/blogs/more-insights-on-epics-vs-mmfs">MMF</a>) are blue, the stories which make up the MMFs are yellow, bugs are pink and quick support tasks white. When a story is commited to, the feature card is moved into &#8220;commited&#8221;, above the titles of the columns and tracks the last related story.</p>
<h3><span style="font-weight: normal;">Measurement &amp; Metrics</span></h3>
<p><a href="http://blog.robbowley.net/wp-content/uploads/2009/06/dashboard.gif"><img class="alignnone size-medium wp-image-677" style="border: 2px solid orange;" title="dashboard" src="http://blog.robbowley.net/wp-content/uploads/2009/06/dashboard-300x195.gif" alt="" width="300" height="195" /></a></p>
<p>We use an Excel spreadsheet to hold the product backlog and track the data from the Kanban/Task board. Whenever an MMF moves to another column the date this occured is recorded. You can download a copy of the spreadsheet <a href="http://files.robbowley.net/ProductBacklog_And_Dashboard.xls">here</a> (you may want to check the calcs on the CFD, not sure they&#8217;re right). Among other things it calculates average cycle time, average <a href="http://www.scrumalliance.org/articles/39-glossary-of-scrum-terms#1110">velocity</a> and projections based on velocity. I&#8217;ve tried a few bespoke tracking tools (such as <a href="http://studios.thoughtworks.com/mingle-agile-project-management">Mingle</a>) and found nothing is as powerful and flexible as Excel.</p>
<p>We have a manual <a href="http://edn.embarcadero.com/article/32410">Cumulative Flow Diagram</a> (CFD) which each team member takes turns to update daily so everyone shares the responsibility (it is also their job to update the Excel spreadsheet each day). The CFD diagram only tracks the value delivered to the business (one unit = one MMF.<em> Measure the output, not the input</em>) and is also represented in the Excel spreadsheet. Why have both you may ask? <a href="http://en.wikipedia.org/wiki/The_Toyota_Way#Principle_7">Visibility</a>.</p>
<p><a href="http://blog.robbowley.net/wp-content/uploads/2009/06/cfd.jpg"><img class="size-medium wp-image-679 alignright" title="cfd" src="http://blog.robbowley.net/wp-content/uploads/2009/06/cfd-300x189.jpg" alt="" width="300" height="189" /></a></p>
<p>We have some rudamentry code metrics set up through our <a href="http://martinfowler.com/articles/continuousIntegration.html">continuous integration</a> framework such as <a href="http://www.ndepend.com/">NDepend</a> output and test coverage but are working towards something more visible and useful.</p>
<h3><span style="font-weight: normal;">Estimation</span></h3>
<p>Still very much a necessary <a href="http://blog.robbowley.net/2008/06/06/estimation/">evil</a>.</p>
<p>For comitting to work for an iteration we use <a href="http://en.wikipedia.org/wiki/Story_points">Story Points</a> using the fibernache (1, 2, 3, 5, 8&#8230;) sequence and achieve them by playing <a href="http://www.planningpoker.com/detail.html">Planning Poker</a> with everyone who may be involved in the work required to take part. We will only estimate (and commit to) work we have already analysed and gathered requirements for.</p>
<p><a href="http://blog.robbowley.net/wp-content/uploads/2009/06/poker.jpg"><img class="size-medium wp-image-678 alignleft" title="poker" src="http://blog.robbowley.net/wp-content/uploads/2009/06/poker-300x256.jpg" alt="" width="300" height="256" /></a></p>
<p>For longer term planning, as we don&#8217;t yet have enough information to be able to use cycle time for projecting work completion, using the velocity based on points completed per iteration has proven a very powerful toool to be able to give the rest of the business a better idea of our capacity and timescales (previously they had none). However this has <a href="http://agilesoftwaredevelopment.com/blog/jackmilunsky/measuring-velocity-not-enough-determine-team-productivity">well known drawbacks</a> and we must be careful it does not get abused, as I have seen before (such as gaming of estimates, whether intentionally on subconsciously). Also, as we need to understand and have gathered the requirements to be able estimate this way it means there is very limited scope to how far into the future we can do this with any degree of confidence (as requirements will <a href="http://en.wikiquote.org/wiki/Heraclitus">change</a>). Once we have a reasonable amount of data in the system we will be able to use average cycle time, which will be much more powerful.</p>
<h3><span style="font-weight: normal;">Coding Practices</span></h3>
<p>Apart from the <a href="http://blog.robbowley.net/2009/04/29/team-principles/">rules</a> we&#8217;ve commited to as a team, <a href="http://en.wikipedia.org/wiki/Pair_programming">Pair Programming</a>, <a href="http://en.wikipedia.org/wiki/Unit_testing">Unit Testing</a>, <a href="http://www.refactoring.com/">Refactoring</a> and the best working principles and practices of the software industry are encouraged from the top of the department and applied rigorously but pragmatically.</p>
<p>At the request of the department members (as a result of a disucssion on collective responsibility) we created a development standards document which includes topics such as naming conventions and testing. As much as possible the document is vague on implementation details to prevent it from holding us back when better working practices come along. We use shared Resharper and Visual Studio settings to help us keep to these standards.</p>
<p>As mentioned below we also frequently hold sessions to improve our skills.</p>
<h3><span style="font-weight: normal;"><span style="font-weight: normal;">Automated Testing</span></span></h3>
<p>All new or modified code is covered by unit tests, integration tests (such as database interaction) and automated acceptance tests which test against the acceptance criteria (this last one is quite new territory).</p>
<h3><span style="font-weight: normal;"><a href="http://martinfowler.com/articles/continuousIntegration.html">Continuous Integration</a> and Deployment</span></h3>
<p>All projects are under continuous integration (we use <a href="http://www.jetbrains.com/teamcity/">TeamCity</a>) and we are working towards having all deployments doing the same. We have monitors on the wall which <a href="http://blog.robbowley.net/2009/04/30/creating-a-teamcity-currently-failed-builds-page/">show all the currently failing builds</a>. Do I need to mention we use source control?</p>
<p><img class="aligncenter size-full wp-image-683" title="83703920" src="http://blog.robbowley.net/wp-content/uploads/2009/06/83703920.jpg" alt="Failed builds monitor" /></p>
<h3><span style="font-weight: normal;">Roles and Responsibilities</span></h3>
<p>Every role in the department is covered by a document explaining their roles and responsibilities. They are written in a way which encourages self-organisation and collective responsiblity. You can download them <a href="http://files.robbowley.net/Roles&amp;Responsibilities.zip">here</a>. I will be talking about these descriptions more in a future article.</p>
<h3><span style="font-weight: normal;"><a href="http://en.wikipedia.org/wiki/The_Toyota_Way#Section_III_.E2.80.94_Add_Value_to_the_Organization_by_Developing_Your_People">Learning Culture</a></span></h3>
<p>Each week two hours are set aside for learning sessions such as coding dojos and presentations (we&#8217;re currently running a design patterns study group). Outside of these developers are actively encouraged to take the time to learn new practices during working hours (within reason). We have a library of books available on a range of subjects which are at the disposal of everyone. More often than not if there&#8217;s a book that someone would like to read the company will purchase it and add it to the library (books are pretty cheap in the grand scheme of things).</p>
<h3><span style="font-weight: normal;"><a href="http://en.wikipedia.org/wiki/The_Toyota_Way#Section_IV:_Continuously_Solving_Root_Problems_Drives_Organizational_Learning">Continuous Improvement</a></span></h3>
<p>Outside of retrospectives we have a monthly departmental session where the most pressing problems are discussed and actions taken away. However there is no limit or retriction to when improvements can be made and everyone is encouraged to take the initiative when they see a problem that needs addressing.</p>
<h3><span style="font-weight: normal;"><br />
</span></h3>
]]></content:encoded>
			<wfw:commentRss>http://blog.robbowley.net/2009/06/22/snapshot-of-current-practices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
