Monday, May 28, 2007

Coming up for air - thoughts on writing

This blog has become noticeably less active lately.  Thats a sign that I've been very active myself.  What with Software Strategy, clients and the book to work on things have been busy and blogging has had to give.


Well a funny thing has happened.  The creative stuff is now done.  I'm now waiting on other people for things before I can continue.  It will be a month or two before the manuscript is completed and it won't be until January 2008 till you can buy a copy but now its all loose ends and minor editing.


The big gap is due to typesetting: it takes the best part of 6 months to get a book typeset.  Decidedly un-lean.)


Here are a few thoughts on what I have learned while I've been writing, and working with a publisher.


Diagram and pictures are a pain:


Problem 1: I have no artistic ability, some of my diagrams are OK but others I want redrawn.  I've now found someone to do this for me but I shouldn't have left this so late in the process.


Problem 2: I've used at least 4 different tools for drawing my diagrams so things are inconsistent.  I won't do this again.


Problem 3: Permissions.  Apart from the diagrams I've invented I have to get permission for everything else.  This seems silly to me because I can quote other authors without permission but I need permission for every diagram.  Probably isn't silly but it feels it.  This leads to more problems.


Firstly I've dropped illustration which aren't essential to reduce this problem.  This is a shame, I would like to break the text up some more but its practical.


Secondly some diagrams I can't source, I know I've seen them, and I can even find similar ones on the internet but I simply don't know where the original was.  Guess this is my own fault, I should have stayed on top of this.


Third few of my diagrams are exactly like they are in the original, so we have to make a judgement call on whether or not I need permission.


And fourth, if I get it wrong its me who gets sued and has to pay up.
All in all I've really increased my respect for authors who use a lot of images, and in particular Tom Peters Re-imagine! book.


I should have got more feedback earlier


I wish I'd shown more of the work to people earlier on and got more comments.  As it was most of the text was written by the time I started to show it to people and publishers.


Things you can't say


Turns out my publisher has a dispute with a well known CEO.  Therefore I can't mention him by name.  I think there was only one CEO I mention in the entire book and it turns out to be the one who is in dispute with my publisher.  What luck!


Its been an interesting exercise so far and I've learned a lot.  If I ever write another book there is a lot of things I will do differently.  For now I just want to get this one finished.

Sunday, May 13, 2007

Post-Agile

I’ve written before about the Agile backlash I see coming.  But what I’ve been wondering is: what comes next?


One idea comes from James Noble and others who have suggested Post-Modern Programming.  I like the idea, it helps us understand the world better and it helps reposition our view of software development but it doesn’t tell us to do anything differently.  Post-Modern programming is more a philosophical understanding than a prescription.


Myself I’m a big proponent of Learning Based Software Development.  While this changes the emphasis on in software development I’ve yet to develop the ideas into a proposal for anything more than … well ideas.


Actually Learning Based Software Development (yes I just invented the term so lets invent the abbreviation LBSD) can be seen as a software specific version of Knowledge Based Product Development.  (Sorry, one of the entries with messed up formatting.)


This week I stumbled across a blog by Jason Gorman in which he discusses Post-Agile.  This is the first time I’ve heard the term and it seems I’m a little late to the party.  (Also a sign that I need to get to XTC a bit more regularly.)


It appears from what Jason says that opinion is divided on what “Post Agile” means yet but one possible explanation is: Being informed by the Agile/Lean movement but not following any prescribed methodology.  If that is what it means than good, it could be what I’m looking for.


But boy, Post-Agile is such a pretentious title.


 

Chance favours the prepared mind

First an apology: I’ve been very busy the last few weeks so I’ve not been blogging so much.  Naturally the creation and launch of Software Strategy has kept me busy and so has the company’s first client where I am far busier than I have been for a long time.  Add to this friends and family visiting from abroad and a few things have had to give….


Despite this I wanted to capture a quote I read this week which I think is very wise.


Last weeks Economist carried a profile of Gerald Grinstein, no I hadn’t heard of him before either.  Turns out he is the boss of Delta Airlines and what he said was this:



“Chance favours the prepared mind”


Which when you think about it is so true.  If you spend time thinking about where you are, what needs doing, what options are available and how things might unfold then when chance occurs you know whether to grasp it or not.


This is what worries me about being so very busy.  When I’m busy busy, and when see companies who are busy “doing stuff” I find so often that opportunities are missed and much of the stuff that gets done isn’t necessarily the right stuff.


For example: I often advise people to keep a work diary (or journal as some would call it.) Writing a journal is not really about recording what happened but thinking about what the implications are and what might happen next.  As such it is an act of reflection.  I find that when I get busy my journal (and blogging!) get squeezed, but when this happens I loose direction and although I’m busy I am less effective.


So this is a reminder that in the middle of this very busy period I still need to find time to think and prepare my mind.


Still, a big apology to all those people who are waiting for replies to e-mails, letters and such.  I’m hoping to break out of this cycle real soon now!

Thursday, May 03, 2007

More Agile failure modes

A couple of weeks ago I raised the topic of How Agile Teams fail.  Well in recent conversations and observations I’ve been reminded of two more modes of Agile failure.  (Maybe reminded is the wrong word, maybe I could say I’ve spotted patterns, having one or two cases logged in my mind some more examples have focused my thoughts.)


One mode is where the developers simply state they are doing Agile.  We can call this Fake-Agile.  By simply stating they are Agile the team can then ignore documentation, avoid project management, and generally hack.


Frankly this isn’t Agile and it gives Agile a bad name.  I’m sure some examples of this are genuine attempts to become Agile but without real understanding or experience it is difficult.


The lesson here is: Simply stating you are Agile does not make you Agile.


I’ve also been reminded of this by recent TDD experiences.  A team I am working with has decided they want to start doing Test First Development.  However nobody has done it before and three weeks after voting to do this there is little sign of it being done.  This isn’t necessarily the team’s fault, although they want to do it they don’t really know how.


Think about it.  When I decided I wanted to drive a car I hard to learn to do it.  The same with skiing, wine tasting, and lots of academic subjects.  Sure I can pick some of it up by just doing it, and if I’m really clever, lucky or something else I might just succeed – like the way I first learned to programme. 


But generally, wanting to do something isn’t enough to actually do it.  You need help and advice.


My solution is to arrange some training and coaching for the team to help them start doing TDD.  Once we have that in place I expect things will change.


The second Agile failure mode is a bit more complicated.  I’ve seen it a couple of times now and I suspect its behind many Agile failure.  It happens like this…


A team are trying to adopt Agile, but they are also working with new technology.  The new technology could be technology new to the team, it could be technology new on the market (perhaps a beta release from a vendor) or it could be newly introduced technology.  Whatever, the team need to learn the technology.


So we have New Process and New Technology.


The first sign is exploding cards.  Teams write cards to represent the work they are doing to do at the start of the iteration but when the iteration gets underway it turns out the cards were vast understatements, both in terms of the time required and the work required.


(By the way, you need a card and board system to spot exploding cards, a software tool will simply hide the problem.)


In some cases progress is slow and few, if any cards are complete.  Perhaps people say things like “the card is 80% complete.”  In Agile iterations 80% counts as zero.  It is either done or it is not done.


In other cases, where teams recognise the extra work involved they may write more cards – hence the expression exploding cards.  Here developers start work on a card and realise/find there is far more work than they anticipated.  They break this down into several smaller tasks and the number of cards multiply.  In one case I saw developers took to folding the cards in half to fit them on the white board.


There are techniques for dealing with this situation.  Writing cards to represent the extra work is one, and you may need to add more frequent re-prioritisation.


Another technique is time-boxing: where developers have to guillotine their activities at some point and just go with the best they know so far.


And another is investigation: where an investigation task (probably time-boxed) is conducted before the actual work itself.  This can help split tasks down.


But, all these extra techniques for dealing with this situation are relatively advanced.  An advanced Agile team may simply take these problems in their stride.  For a team new to Agile this situation can be off putting, some people may take it as evidence that Agile does not work and it may even lead to project collapse.


Such projects were probably going to end up in a mess whether they are run Agile or not.  Because of the new technology the project is uncharted waters and the amount of learning and investigation needed is very high.  Therefore, even with traditional project management techniques the project will probably hit problems. 


Here the advantage of Agile is that you know the problems are happening much earlier and not just at the end.  But, if they team is new to Agile then you may loose the project and the Agile practices too.


The solution here...  Not sure I know one.  Some projects will always slip and even fail no matter how well you try to manage them. 


If there is a solution it lies in seeking help, involving people who have done these things before – either Agile or the technology.  Training and coaching can help too, whether in the new technology or new process.


What is the lesson from all of this?  Well if there is one it is simply that Agile Software Development may look easy but it isn’t.  Getting to be Agile is not simply a case of reading one book, it is a case of reading many books, talking to many people, working with experienced practitioners, having training, coaching and trying again when things don’t work out.


It isn’t easy being Agile.

Tuesday, April 24, 2007

Another discovery at ACCU conference "Bicycle repair workshop"

Something else I discovered at the ACCU conference: Bicycle Repair Workshop.  Should I name to originator?  Or should I let her live in quite anonymity?  Perhaps I should actually seek permission to talk about this here, but then was it not Picasso who said “great artists steal.”  (No I did ask permission.)


First the name: its a straight take from Monty Python.


What it is, is a forum where software developers at the company can gather and talk about the problems they are currently encountering.  The originator envisaged a forum for people to talk about process issues, and specifically Agile practices but its free form enough to let people take in what they want.


The workshop takes up an hour or so on a regular basis, I can’t recall it it is weekly, bi-weekly.  There is a bit of fun (cakes supplied) and people turn up only if they have something to contribute – so a self selecting group.


Like the book groups and Tech-Talks that I’ve created in the past the forum gives people the opportunity to talk about the issues they face.  By exposing, explaining and naming the problem/issue/challenge/opportunity it becomes more manageable.  By explaining it people are forced to make some sense of it to themselves and then to other people.  And when other people see it they can help.


In one of his books Gerry Weinberg (Secrets of Consulting I think) compared problems in companies to moss.  In the dark, moss grows and becomes bigger.  Exposed to light moss dies.  Problems are the same, when you hide them they become worse, expose them and it becomes easier to deal with.


I see this happening when people gather in a pub or coffee bar, or stand around the water cooler and moan about things in their work place.  They know what is wrong but they feel helpless to act.  So bar and water cooler conversations don’t result in much action.  Often these problems don’t get talked about in official forums either:



  • because these problems shouldn’t exist, e.g. the according to the official process manual these things shouldn’t happen

  • because office politics gets in the way, e.g. everyone knows that X needs to change but nobody feels they can say it

  • because somethings we can’t talk about, e.g. Fred under performs and needs to be let go

  • because solving the problem needs resources and we all know the company won’t spend money

  • because we are embarrassed to admit to our own problems

The advantage of the semi-official forum, like Bicycle Repair Workshops and book groups is that people are freed of these constrains and can talk more freely.  For managers this posses a problem: too much support and involvement with the forum will make it official and kill it, too little support and it will turn into another moaning shop and nothing will happen.


By creating a forum people are allowed to talk about a problem and expose it to the light.  The advantage of the Bicycle Repair Workshop is that it is directly asking for and discussing these issues.  I occasionally facilitated a Tech Talk into such a forum, and the books we studied in book group lead to discussions about problems bit I never tackled the issues head on, on a regular basis.


Of course it mights be possible to have too many forums.  All of these activities take time and commitment.  A company running bicycle repair workshops, book groups, Tech Talks and what ever else may over tax people.


These three types of forum share another thing in common.  They can be created through bottom-up action.  You don’t need to be a manager to create them, you can just do it.


On the other hand, if you are a manager then then can create other types of forums. I’m working with a company now to help them revise their development process and become more Agile.  One of these things I’m doing it running twice monthly improvement meetings, kind of reverse-retrospectives.  These are more official so have a different flavour.


In all these cases the real problem is turning information and learning into action.

Monday, April 23, 2007

Other blogs on ACCU conference

More stories from the ACCU conference at:



I am sure there are other ACCU bloggers so if anyone knows them please let me know.


 


 

Sunday, April 22, 2007

Failures in Agile process?

One of the questions that was posed at ACCU conference was “What are the downsides of Agile development?” – and “What does Agile failure look like?”


I have tried to answer the first question before but failed myself.  One downside is that the Product Owner role – typically filled by a Business Analyst, Product Manager, Customer or other proxy-customer – is given an immense work load.  This is a subject James Noble has done some work on.


What happens is that Product Owners have to keep doing their original job and service the needs of an Agile team.  As the Agile team becomes more productive they ask more and more of the owner.  Consequently the owner gets maxed out and themselves becomes unproductive.


However when I thought about this I don’t think the failure is a failure of Agile, I think it is a failure of the business.  Put it this way: for years “the business” has been complaining that software teams do not deliver what they want.  Now along comes Agile and says “we will deliver exactly what you want” but “you need to tell us exactly what you want.” 


It is no longer enough to set half a dozen developers working on a problem and expect them to come up with the right thing.  If customers want what they ask for then they need to tell the developers exactly what they want in detail.


The second question, “What does Agile failure look like?” is hard to answer because we don’t have many case studies of failed projects.  This isn’t just true of Agile projects, it is true of many IT projects.  Companies don’t like to talk about failure. 


Still I can see several failure modes for Agile:



  • Teams fall back to the old way of doing things: I’ve only heard about this not seen it myself.  Typically it occurs when you bring in a lot of consultants to make your team and process Agile.  Things work when the consultants are there but when they leave teams fall back to the old way of doing things.  Unit test break and aren’t fixed, planning meeting are missed, quality slips and deadlines are missed.  The presence of consultants gives the team a backbone but knowledge is not really transfered to the existing team.

  • Failure to get management buy in: Agile is often introduced at the bottom of the hierarchy, by developers at the code face.  Eventually there comes a point when managers need to support it or stop it.  This doesn’t happen and the development process is left in a random state.

  • Failure to get developer buy in: this occurs when management buy into Agile but developers don’t.  They don’t want to write tests, do code reviews or pair, believe in technology over visual planning, etc.  Again the process is left in a random state.  I expect to hear more about these types of failure in future.

The common theme here is not that Agile fails, after all IT projects and processes fail all the time so there is nothing new or special here.  Failure of an Agile project looks a lot like the failure of a Waterfall or RUP project.


Rather Agile fails when you fail to see the benefits of the new approach.  So when you do a little bit but not enough to improve quality, improve delivery dates, and make things predictable.


Both questions are good questions and deserve more attention.

Wednesday, April 18, 2007

Waste from the ACCU conference (Testing)

As I mentioned last time, I came back from the ACCU conference with a bunch of notes and a lot of thoughts.  Recording them in this blog seems like a good way of remembering and sharing these thoughts.


Last time I referred to the Great TDD debate.  At the conference Mary Poppendieck reminded us of the key principle behind TDD and other forms of unit (especially automated) testing when she quoted from one of the original Toyota sources:



  • Testing to find defects is waste: the defects should not be there in the first place so any attempt to find them is waste.

  • Testing to prevent defects is essential: defects slip in, we should catch them as soon as possible so create systems with tests that prevent defects.

Hopefully it should be obvious were TDD fits it: TDD is there to prevent defects and reduce waste.  However, testing later in the cycle, e.g. system test, is waste and although it may be necessary right now we want to get away from faults, testing and waste.


On the face of it this is bad news for software testers.  If we start testing to prevent waste rather than find waste then they are out of a job.  Well I have three reassuring thoughts for software testers, they will not be unemployed anytime soon because:



  • Few organizations can actually implement this principle, some will always need testers.

  • We have a lot of code out there where nobody prevented the defeats and therefore needs testing.

  • Testing itself is an activity that can add value to products –  as Oracle considered last year.

Also, most of the software test managers I have ever worked with have been keen to point out that they would rather conduct Quality Assurance than Test.  Too often these activities are lumped together but when you think about it they are very different.


So, in the short term testers have plenty of work, in the long term their future is in quality assurance – a more value add activity.


Now at this point a lot of people tell me I’m an idealist.  After all, everyone knows software is buggy, has always been buggy, and always will be buggy.  I remember being taught at University how every piece of software contained an infinite number of bugs.


I asked Mary Poppendieck about this, her answer was basically: you get what you expect, if you expect to get bugs then you will.


Well, maybe I am an idealist.  But what is wrong with wanting software without bugs?  What is wrong with setting my sights higher?

Sunday, April 15, 2007

Back from the 2007 ACCU conference

I got back yesterday from the 2007 ACCU Conference.  Once again this was a great conference.  Lots of good stuff on Agile and Lean (Mary and Tom Poppendieck delivered a keynote), software management, programming in general, Java, C# and C++. 


I mainly kept myself to the management and agile sessions.  Also I was involved with a lot of ACCU business type stuff occurring around the conference.  It is about the time when all the key players in the ACCU are in the same place and a lot of association business gets done.  As well as delivering my own session and taking the stage with Mark Shuttleworth and Mark Poppendieck I was in meetings about the ACCU journals, growing membership, conference organising and a host of discussions about the association.


Over the next few blog entries I’ll try and debrief myself and highlight the things I feel I learnt and need to remember.  My comments from this time last year still stand, the best speakers are no necessarily the ones you expect them to be.  (Apologies for that blog entry, its one of the ones with formatting problems.)


Right now here are a few bullet points.


I met three people who are separately working on projects that compile the same code base to Java and C#.  These people have the code in one language and have some pre-processor step which makes the syntactic modifications so it can compile for the other.  Is this a trend?  Will we one day have Java# ?


Ed Sykes and Jan-Klass Kollhof did a really good session.  They set out to produce a distributed algorithm using Python and JavaScript in web browsers.  They just about succeeded but actually their session was far more interesting for what it said about systems with emergent behaviours.  They also took a stab at futurology and suggested Web 4.0 Distributed Computing.  You heard it here first!


The great Test Driven Development debate rumbled on. Well, when I say debate it is a bit one sided.  There are a few people who think TDD is not a good practice then there are the vast majority of people who have tried it think it is a good practise that improve quality. 


Mary Poppendieck presented some figures from Mike Cohen’s book Agile Estimating and Planning.  Before introducing TDD Cohen’s company had 10 faults per 1000 lines of code, after 3 months of TDD this had fallen to 3 per 1000 lines.


For me this debate is a little like the Black Adder scene were the Captain (Tom Baker) says to Black Adder (Rowan Atkinson):



“Crew? Opinion is divided on the matter, all the other captains say you need a crew and I say you don’t”.


Gail Ollis did a good session on Advocating Agility, one of her first slides quoted the start of A.A.Milne’s Winnie the Pooh:



“HERE is Edward Bear, coming downstairs now, bump, bump,
bump, on the back of his head, behind Christopher Robin. It is,
as far as  he  knows,  the  only  way of coming downstairs, but
sometimes he feels that there really is another way, if only he
could stop bumping for a moment and think of it.”


Gail had spotted the great sentiment expressed here: we do painful things because we simply don’t know how else we might do them and don’t take the time to find out.  I left intending to use this quote myself. 


In looking for this quote on the web just now I seen that neither Gail or myself is the first to spot this, its all over the place and often associated with change.


OK, thats a first stab at debriefing the conference, over the next few entries I’ll write more.

Monday, April 09, 2007

Software Strategy

In this blog I keep coming back to same interests:



  • Software application development: specifically the use of Agile or Lean techniques to improve the process.

  • The link between IT and business strategy.

  • Opportunities to make better products.

  • How improving our learning can improve our application development, IT strategy and create better products.

Well I am please to announce that I’ve decided to make these passions into a full time job.  I have created a new company to help organizations with exactly these issues.


Software Strategy will help organization improve their learning, improve their strategy and improve the execution of strategy.


Specifically Software Strategy will help organizations deliver the software application which are necessary to delivery their strategy.  Unique software applications have the ability to help companies succeed.  Either because they sell the application itself or because the application allows the company to better deliver some product or service.


For more information see the Software Strategy website.  The company already has a full order book and several interesting prospect in the pipeline.