Adopting Agile in 3 “Easy” Steps
Join the DZone community and get the full member experience.Join For Free
all good plans come in 3 phases:
although i won’t be collecting any underpants, i’ll be following this basic template (with a couple of tweaks here and there) during an agile adoption initiative i’m currently working on.
in the south park episode (from which i have taken the picture above) the boys discover a bunch of underpant-stealing gnomes, who are collecting underpants as part of a grand plan to make profit. the gnomes claim to be business experts but none of them appears to know what phase 2 of the plan is. all they know is that their business model is based on collecting underpants, and so that’s what they’ll do.
unfortunately, i have been witness to a couple of attempts at adopting agile which weren’t very dissimilar to the underpants gnomes’ business plan. namely, a business starts “adopting agile”, usually driven by the development team, where they start doing stand-ups and using a sprint board (this is phase 1) and somehow they are surprised when this doesn’t suddenly start producing profit. clearly, “becoming agile” isn’t as simple as that.
phase 1 – collect business reasons (not underpants)
so you’re going agile. presumably you’ve determined that this is what you want, and what your customers need. if you haven’t done this yet then stop right there and ask yourself “do i need go agile?”. the answer might be “no”, but does needing to go agile have to be the only reason? maybe you just want to go agile to see what the fuss is all about, or to make your business more attractive to potential new employees.
so lets assume we’re going agile, and you have valid business reasons to do so. my first suggestion would be to make those business reasons highly visible. you have to outline the existing issues and how agile can help to fix them. mitchell and webb once did a sketch about a toothbrush company who had to try to think of some gimmick to add to their toothbrushes in order to keep increasing their sales. they came up with the idea of “dirty tongue”. this is where microscopic “tonguanoids” build up, and basically result in social exclusion and a lack of sex. their solution: to put bristles on the other side of the toothbrush so that people can brush their tongues while they brush their teeth. people will buy these toothbrushes despite the fact that “brushing your tongue makes you retch, everybody knows that”. the point i’m making, very badly, is that it’s a lot easier to sell things if people think that what they’re buying into will fix some very real, tangible issue.
the same goes with agile. to get the buy-in you need to make your agile adoption a success, you’ll need to identify how “going agile” is going to make life better for everyone concerned.
if the problem you’ve got is that you never ship software on time, or you constantly fail to deliver what the customer wants, then it’s fairly easy to “sell” agile as the solution. the concept of sprints are a doddle for everyone to understand, and they’ll love the idea that the customer will have regular interactions with the development team, and get to see regular progress in the demos. “of course!” they’ll say “it’s so obvious, why didn’t i think of that before”. the business should easily be able to see how short, sharp sprints with an emphasis on “working software” will make it easier to deliver what the customer wants, and manage their expectations of when it’ll be ready.
but what if those aren’t the problems you need to solve?
what if your problem is quality? how do you convince the business that agile will result in a higher quality product? it’s not quite so easy. agile itself won’t deliver better quality, but the good practices you’ll have to implement in order to successfully be agile will help to improve your quality. i was thinking about this the other day because it’s exactly the problem i was faced with.
agile isn’t going to make it easier to reliably test our software. but to be agile, we need to be able to build and deploy our project rapidly so that we can test it right there and then, not tomorrow, not next week, but right now, so that the testers and devs can work in tandem, building features and signing them off and moving on to the next one. we have to facilitate this in order to be agile, so as a byproduct of going agile we might have to invest in creating a new build and deployment system. and it has to be quick so it’ll have to be automated .
so we have an automated build and deployment system, but to be able to reliably test our features we’ll have to make sure the environments are reliable. we can throw people at this problem and dedicate a team to making sure our environments are clean and regularly audited, or we can automate all that as well! fortunately there are numerous tools and good practices we can follow to do this, just take a look at chef, puppet, vagrant, and vmware as examples of tools for automating deployments of virtual machines, and the concepts of “infrastructure as code” for good practices. (of course, if your hardware isn’t already virtualised the first thing to do is see whether it can be, and if it really, honestly can’t, then look at tools like norton ghost and powershell for ways of automating as much as you can).
“agile” and “improved quality” might not be the most obvious bed partners, but the journey to becoming agile almost forces you to take steps which will naturally go towards improving your quality.
hopefully you’ll have enough “sales material” to put forward a great case for agile – you can deliver exactly what the customer wants, to a higher quality, and you can manage their expectations in a way you could never do before. and that’s just scratching the surface of what agile can do for a business, but for the purposes of keeping this post to a reasonable length, i’ll leave it at those 3 things!
phase 2 – pick the most appropriate project, and start doing scrum
the sales pitch is over and now it’s time to start doing stuff. make your life a lot easier by picking a project that has as many of the following features as possible:
- smart developers and testers
- isn’t suffering from a tonne of technical debt
- has users who are happy to get involved in early & regular feedback
- is small, new or yet to begin
if you’re taking on an existing project, a good idea at this point is to benchmark your existing processes. consider trying to measure the following:
- how long does it take to get a single change from request through to production deployment?
- how much time and money does it cost to fix an issue on production?
- how many bugs do you typically find on your production code every month?
- how often do you deliver features that don’t satisfy the customer?
- how often do you deliver features after the deadline?
measuring some of the things above is clearly non-trivial, but if you can find these stats somewhere, they’ll be very useful benchmarks for you in the future. when you can demonstrate that all of these metrics are improved in your new agile process, god-like status will soon follow.
i recommend doing scrum because it’s simple and has the most support in terms of people with experience, material (books, courses etc), and tools. it’s a good “framework” to get you started, and once you’ve had success, you can evolve into other methods, or incorporate them into scrum (such as bdd, tdd etc).
at about this point you’ll need to do some
training. the concept of doing analysis, design, development and testing all at the same time is going to sound absolutely bonkers to some people. try your best to explain it to them, but don’t waste too much time on this – just crack on and make a start!
most people will enjoy the experience of working in this “new” way, and the first few sprints will probably benefit from the fact that everyone is performing better simply because they feel more invigorated. use this opportunity to promote scrum across the organisation.
in this phase, always maintain a focus on “the business” and not just on the technical team. it’s important that the business feels part of this new process or they’ll just see it as some crazy dev thing which doesn’t really affect them, and they won’t try to understand it. business people might refer to this as “promoting synergy”, which i’ve just shoe-horned into this post so that i can add a picture from lonely island’s “like a boss” video. however, i do like to make a point of always highlighting the extra business value we’re delivering, and make sure the product managers (soon to be “product owners”) are involved all the way. they represent the traditional link between the customers and what we’re delivering, and so it’s essential that they understand the benefits of agile.
i was recently asked about the impact of “going agile” on a project’s release schedule, and when we would be able to deliver the features we’ve promised to the customers. it’s difficult to explain that we no longer know when we’ll deliver stuff, but at some point, people will have to realise that this is the wrong question. i prefer the idea of a rolling roadmap, which is continually reviewed and updated (as often as you can afford to do it, really). rolling roadmaps give the business, as well as the customers a good idea of our intentions, but it is very different to fixed dates on a release schedule, or a traditional yearly roadmap. of course, everyone needs to understand that the main driver for our deliverables will be the customers, and what the customer wants will usually change over a shorter period than you expect. so for your new “agile” project, try to work towards implementing a rolling roadmap culture, and move away from long-term fixed delivery dates (if you can).
one final note on phase 2: make it fun, and make it different.
phase 3 – improve
agile promotes “fast feedback loops” all over the place: in development we get fast feedback on our code through continuous integration, with bdd we get fast feedback to the product owners/bas and of course with our more frequent releases we get faster feedback from the customers. and so it is with our agile processes as a whole. with short sprints and the clever use of retrospectives we can continually tinker with our fine tuning to see if we can improve our quality and velocity. look at areas you can try to improve, change something and then see if your change has had a positive impact at the end of the sprint. this is basically the concept behind deming’s shewhart cycle:
deming actually preferred “plan, do, study, act”, whereas i myself prefer “plan, do, measure, act”. the reason i prefer this is because it implies the use of quantifiable metrics to base our actions on, rather than some other non-quantifiable observations. anyways, the point is that after agile is applied, you should keep looking at ways to continuously improve. this is key to keeping everyone feeling fresh and invigorated, helps us to learn from our mistakes, and encourages innovation.
so there you go, agile delivered in 3 well easy steps. it shouldn’t take you much longer than an afternoon. ok, it might take a bit longer but if you’re looking for a 30,000 foot overview of a simple 3-phase approach, then you could do a lot worse than apply the principles of “sell the agile idea, pick the best project, and keep improving”.
Published at DZone with permission of James Betteley, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.