Archive for the ‘zen’ tag
Rolling out a methodology is about design
Implementing a new methodology is a painful exercise. Lots change, lots break, and lots of so-called “colateral damage”. I have tried implementing new methodologies including XP and Scrum many times. I have also witnessed a lot of attempts by other people, and been involved while others drove the initiative. Every time, it has lead the organisation into a disruptive, stressful state. The most common position taken by the implementors is:
Of course it is disruptive. That’s part of the change-process. We all knew that from the moment we started. How else do you think it’s going to get better?
In the past, I’ve been guilty of the same. The end result is that I am left unsatisfied and unfulfilled, and so is the organisation. Yes, it may eventually get better. Eventually I got sick of taking this high road. Well, it only took two such situations a long time ago to realise that I was messing up royally.
In my quest to do things better, I drew inspiration from test driven development and dealing with old, messy legacy code. Three very distinct things which are rooted in software development and changing legacy code is very, very apt.
- Rolling out a methodology is at the implementation level. So, was there a design for the implementation in the first place? Implementation without design always ends up in a mess.
- Even if we abstracted the design from one implementation, does the design support all implementations? ”Similar” does not equate to “same”.
- The existing methodology has a set of protocols by which the organisation functions, while the new methodology introduces a new set of protocols. Just dumping down the new protocols is the equivalent of rip and replace – the grand rewrite without care for migration. Is this the only way?
So, taking inspiration from code, here is something that you can try when attempting a new rollout.
Understand the existing implementation. Use a test based approach to concretely discover existing protocols within the organisation. This may be as simple as playing out what-if scenarios that test the communication pathways. Keep your eyes wide open for seams or boundaries. These seams are candidates for incision points for introducing a new protocol facing in towards the area under change while honoring the old protocol facing out towards the other side that should not be changed (yet).
Design, design, design. Once you understand the existing protocols and how they behave under certain scenarios, you switch to design mode. Look again at the dependency graph within the organisation for a particular protocol. What is affected when a certain event occurs? Then look at your candidate seams and incision points and design your wedge. It may be a transformer that completely modifies information as it crosses over the seam. Maybe it’s a buffer with a finite capacity that slows things down and trickle feeds info to the other side. What about a filter that removes some info? How about something that just decorates existing info with a just a wee bit more that is tolerable on the other side.
This design is mostly about designing feedback loops. As such, you need to consider the temporal and synchronous aspects of feedback also. What is the expected latency when I stick in this new wedge? Will it take one week or one day or one hour when something crosses this boundary? Do we send off some info and wait for a response on the same pathway, or do we get informed of which other pathway to regularly check for the response? Perhaps someone gets nudged when the response arrives.
Implement it test first. While it may seem like a lot of upfront work is necessary to get the ball rolling, it can be done in tiny steps. You don’t need to fall into the analysis hole when looking for seams. Nor do you need to get stuck looking for the perfect design. It is better to remain concrete for long periods of time, than speculate at possibilities. Doing a little bit at a time with some small tests helps you keep both feet on the ground. For example, you want to switch from the old protocol of reporting progress with budgeted vs actual to burning down story points. Some people still need to use the budget vs actual report and it is inefficient to have to maintain both (not to mention not DRY at all). We need a way of transforming from burn down to budget vs actual. Think about candidate tests that will shift you towards that goal? Maybe it’s “I should be able to take existing budgeted tasks in a time frame and map it to tasks on the burndown”. Perhaps it is “I should be able to introduce new time frames on the budgeted vs actuals that synchronise with new sprint boundaries”.
These are just some things that I think and try out. It comes from me being sick and tired of subjecting people to stressful implementations and being party to messed up implementations too. It’s just too easy to blame someone or something else for our own ineptitude. I don’t take the high road anymore. I take the middle road. It doesn’t travel straight, and has branches with dead ends too, but it leaves me a lot more content.
You can’t let Scrum die
In my last post I said we should let Scrum die. We can’t let Scrum die. It doesn’t behave like that. It will only die off its own accord if we die first and then it dies because it has no reason to exist. So you got to kill it. Here’s why (again?).
Software development is about people and the way people work alone and together. People create code in software development. Without that code, these people don’t exist; they have no purpose. Code is the creation of the people, and people live off this code. When the code is good, then life is good. When the code is poisonous, then people start dying slowly. When the smell of death is in the air, they look for help. Some stare into the mirror called Scrum. They see themselves and the way they behave. It’s an ugly sight. They realise that they should behave better. After all, software is about the way people work alone and together.
Regularly looking into the Scrum mirror, they improve their behavior over time, and everyone is happier than the moment before. That’s a nice view. Just look in the mirror and it looks good. Very rarely do they also look again through the window into the fields of code that feeds them. The poison is still coursing through their veins. They will die, eventually … by the host that they created that was supposed to nourish them. The only way to survive is to deal with the fields of code. Get rid of the toxins. There are two fundamental ways(*) that you can get rid of toxins: (a) eliminate duplication, and (b) make the code as you wish it to be.
If they just stare into the mirror and hardly ever look out the window, they will just exist on the plateau of complacency. In order to avoid that state of being, they need to focus on the fields of code. The urge to look in the mirror is strong, and as useful as it was, it becomes a very unbalanced state of existence.
So, look in the mirror, but look through the window too. Create fields of code without toxins so that you provide nourishment for the next person. That is ubuntu coding.
Actually, the only mirror you need is the person working next to you.
(*) Think deeply about these two fundamental things and try it out. Everything else will fall into place from this. For example, the act of eliminating duplication forces you to consider where to locate a single piece of code, how it should be used and where it can be used, etc. That is design and architecture. With duplication, you don’t need to consider any of those things. That’s toxic.
A coach walks into a bar …
One day you are faced with a problem. You succeed or fail in solving that problem. It doesn’t matter. Time passes. You meet someone who paints a picture which has some parallels to what you experienced. A few possible things can happen.
(A)
You tell them about your experience. They listen. They ask questions, you answer, talk, listen, listen, talk …
(B)
You ask them a question. They answer, question, answer, question, answer …
(C)
You chat. It is not anything like your problem. Chat, chat, chat …
Given each scenario above, when are you a coaching? When are you being coached?
My view on coaching is simple. We oscillate between knowing and not knowing so often that it doesn’t matter who is learning from whom. It does not matter !! In any given context, you are either a coach or being coached based on what you know. You fluctuate between these extremes many times in a conversation, in an hour, in a day, in a lifetime.
This is part of my quest for balance through the work that I do. ”Coaching” feels one directional, a fabricated “us and them” labeling of people. That is an unbalanced state of being. Learning is a balanced way of living.
And if you have not yet figured it out … agility is about learning, learning is about living, living is about being in the present, being in the present is about embracing change, embracing change is about being agile.
What freedom?
At the Scrum gathering I had a tiny little conversation with Lorraine Steyn of Khanyisa Real Systems and Henrik Kniberg of Crisp about some of the values in our organisations. At the top of Henrik’s value list was Freedom. It seemed straight forward enough, until I started thinking about what freedom means to me.
My early perspective and experience on (the lack of) freedom is based purely on oppression of apartheid. Ok, that’s over, so I am now free. Right?
Then John Lennon’s Imagine lyrics sang through my head. If we’ve nothing to kill or die for, will we have universal freedom?
Hold on, what about when Janis Joplin sang Me and Bobby McGee – “Freedom’s just another word for nothing left to lose”? That sounds too dreary for a concept that should make me happy.
Tonight I saw a quote by Maria Montessori on the wall next to my wife’s desk at home. It’s been there forever and it says:
“The essence of independence is to be able to do something for one’s self.”
I like this the most. Be able to something for yourself and you will gain independence which sets you free. It also reminds me of the self-organising mantra in Scrum-land. Self organising implies that the team wants to be able to manage themselves so that they achieve independence (freedom). But, there is a little spark of conflict in here. As individuals we also have priorities and values, which is not necessarily aligned with that of the team. Is it acceptable to compromise just to subscribe to the homogeneity of the team?
I think it’s a long walk to freedom.
Technical Debt Does Not Exist
Metaphors may be a good way of getting to grips with a new domain. It allows you to imagine the behavior of something that you don’t quite understand (yet) in terms of something with which you are quite familiar. That’s were it should stop. I hate metaphors that extend beyond their purpose. Once I have a good enough understanding, I drop the metaphor. My reason is simple. Metaphors force me to do a lot of energy sapping context switching.
Technical debt is one of those metaphors that have been extended so far, that it is believed by many to be something tangible. Let’s get real here: Technical debt does not exist. It is just a metaphor for us to realise that our code base may cost us more money than it should, and that is a future view. Sometimes our metaphors become euphemisms, and then it is dangerous. When it comes to technical debt, the less I think of code problems as debt the more I am able to face the problems head on.
Ironically, I did a talk recently on dealing with technical debt. My fundamental position is simple. Either your code base has things that exist as a result of broken principles or it does not. The more principles you break, the more potential problems you have in your code. It is not a problem right now, but it may be a problem in the future. This future can be a minute away when I run my next test or a year away. If the future is infinitely far away, then it is not a problem at all.
My first prize is to not break principles, so I don’t create potential problems. My second prize is to deal with real problems and just leave the potential problems for the future.
(Warning: I’m drifting into my enlightenment self-reflection, so feel free to stop reading now.)
If I am part of the exploration that is looking for a solution (living in the moment and not outside it as an observer), then I should be aware of principles that I am breaking and I should change course immediately. If I am part of the exploration that is dealing with the potential problem that is now a real problem, than I need to understand the principle that was broken and fix the problem by restoring the principle. Restoring the principle could mean going on a search for the right solution to the original problem, not just trying to fix the problem that is a result of breaking a principle. This problem that broke the principle may just be the wrong solution that we thought was the right solution because we ignored our principles in the first place.
Hmmm, that’s an interesting thought. Karen Greaves asked me if a re-write can be justified and I mumbled something about technology, etc. What tripe! Now I think I’ve just reflected on when a rewrite is justified. When refactoring will not fix the broken principle, then the right solution was never discovered in the first instance. That is also what I mean when I say that clean code is necessary by not sufficient. At factor10, we call this a radical makeover. Radical makeovers are a viable way of getting rid of real problems, and restoring principles.
Heck! This blog post is less about technical debt metaphors than I thought. Oh well, the ride on this journey never stops.
By the way, a huge thank you to Steve for helping me realise that all problems come from breaking principles, in code and in life.

