43 points · by bdehaaff · 13y ago · 63 comments
Engineers aren't assembly workers: so why do other methodologies seem to be so prescriptive on what can be accomplished in a given time frame? New problems arise, priorities shift, and unexpected news arrives. I appreciate the flexibility of a pull-type system because it lets me transparently show what I'm working on.
I've really hated telling people no or watching a manager struggle to change up something we really need just because it doesn't fit in the right shape time box or might affect the current sprint's plans.
You can't trust yourself: I always ended up hating sprint planning meetings where "points" are a constant source of conflict between stakeholders and estimates are fantastical. These sort of meetings just allow the quality knob to turn down while scope and schedule remain fixed. Having an entire team minimizes estimates problems, but for the effort involved I'm not sure the gains are worth it.
Also, I think you may have inadvertently taken Anderson's quote out of context as well—Kanban isn't a way to run software. It's merely a way to expose your current process so you can improve it. Kanban is something that sits on top and allows you to identify bottlenecks, be realistic about results (instead of estimates) and provide immediate transparency into what you're working on. It doesn't specifically prescribe what the steps are.
If your underlying process (or lack of process) sucks, then you'll still be in trouble. Fix your process first.
From your article, the main reason touted is that the Marketing loses it's way. Which to me sounds strange! In fact I have seen it the otherways. We effectively delink marketing cadence from engineering cadence! Thus resulting in derisking the whole big bang releases.
For e.g. Marketing decides that they are going to make a big marketing push on a conference or a tradeshow. So the PM come up with a list of features they will showcase for the given event. (say 10 features are decided upon). The engineering team works on these features as a que. Releasing each of these as and when they are done. But do note an engineering release to production does not mean a marketing release. This allows the PM to experiment on features, build up case studies, etc ... for these features.
And as the marketing releases dates come closer, everybody knows that we always have a working copy with only the pending items in the que. This results in a high confidence level within the marketing / engineering on what is being touted about. There are no last minute scramble to get a working system. etc ... The most valuable feature was heavily tested and used by everyone before the big bang marketing release.
It also allows the PM to make A/B experiments before the actual marketing push. Thus adding another confidence layer to the whole process.
In a worst case scenario the least valuable features never get released for the marketing push.
I see this as an effective way to derisk the whole marketing push and reduce their dependency on the engineering team to deliver stuff when they said they would.
For e.g. We worked on a team where Sales made a feature request (1 day, PM and design team worked on it and released it to engineering (5 weeks) and engineering released it to sandbox (2 weeks), qa tested it and released it to production (1 week).
Guess where the bottleneck is? The whole cadence for the feature was 8 weeks. Obviously Sales where jumping on us for not getting it done on time. This way of looking at the whole board, allowed us to identify a bottleneck and push for changes on how the whole company operates. If you kanban a board only for engineering then you lose the big picture, How is the system as a whole operating.
When you first implement a process, any process (waterfall, kanban, scrum, whatchamighticallit) the first cycle is going to be hard as everyone is trying to adjust to the new way of doing it. Some people will buy in, some people will call it a fad, some people will like to wait and watch.
So first time around you are going to see these issues, but then the question to ask is, are you measuring the activities? Are you looking at the metrics? Are you debugging the process by trying to ask questions on what the metrics are telling you?
If not any process will fail. And in case of Kanban, metrics are the most important data to understand your cadence. How else will you identify waste, identify bottlenecks and also get into "continuous improvement".
To me goal of any good process should be: a) Provide feedback as early as possible on every activity thus improving the possibility of success. b) Reduce the cost of transaction in some form by either improving productivity or reducing waste. c) Build a team which works as a collective whole with everyone aware of what needs to be get done and when and for what purpose.
If any process fails to do these, you have a failed process.
But when you take the most pathological cases of obesity in a time before obesity was the norm, unsurprisingly those cases are ... pathological. There is a pathology.
These aren't normal people who grew overweight under conditions of stunning caloric abundance.
So let's stop quoting this statistic because the sample bias is kindly stupidly important to its interpretation.
Right. The Mythical Man-Month is a great book/concept for creative/engineering projects. Kanban is a wonderful way of implementing a Just-In-Time manufacturing system.
Props to the OP for explaining the origin of kanban. May this post help fix the co-opting of an IE term for something totally different.
David Anderson, the creator of The Kanban Method (discussed above) wrote the following in late 2010.
“Kanban is NOT a software development life cycle or project management
methodology! It is not a way of making software or running projects that make software!”That's just so wildly divorced from what it is or what it's for that that article made no sense to me.
Still, many of these points resonated with me.
I started recently on a team that follows kanban-ish practices. Fortunately nobody here is that process-focused that we follow it exactly. Also, there is nothing that says you have to work on only one thing at a time, and we typically don't. In fact, I work part-time on another team, and the other one does not do kanban.
But I don't much like the kanban system: Give me a satisfyingly large component, and let me work on it entirely.
So for kanban in general, here's another facet to consider, and one that probably explains why engineers are "leaving in droves": As TFA says, you end up working on many small pieces of a larger whole. The good part is, you could end up becoming aware of all parts of the system that you touch.
But! When you interview elsewhere, or heck, even when you're updating your resume, and it comes to answering the inevitable question, "What did you work on in this project", the honest answer is, "Uhh, many parts but nothing overarching as such..."
And right then, even to yourself, that sounds like such a weasel-wordy answer. You could go on and explain, "Well, I wrote method A of component X, and feature B of webpage Y and an implementation C of interface Z for cases where Q is R." But to an interviewer, I'd guess it all sounds like "I worked on nothing worthwhile."
On the other hand, since you have better awareness of the project as a whole, you could say you worked on all of it, and make up more impressive-sounding responsibilities as you go along.
But I find it much easier if I just do something impressive and be straightforward during interviews.
Kanban/lean is a pretty simple idea (not always easy to execute): eliminate waste in your work by smoothing the flow of requirements/changes. This treats your end-to-end delivery capability as a syatem and one that should not be overburdened.
The clearest sign of being overburdened is when you have a lot of work in progress but nothing to show for it. So instead of a genius PM/business analyst/product owner handling out a tome of requirwments from on high with a thud, you break the work down into a minimally useful / marketable chunks, minimize work in progress, deliver according to some priority, and iterate and learn from the results.
This is the philsophical foundation of lean Startups (customer development), lean development, and much of the work on Devops.
So the article rails against Kanban ... And almost seems like its advocating for the same thing with its goal-driven approach to delivery (?).
Any methodology or process framework is subject to misinterpretation or abuse. This is why "agile" and "scrum" are dirty words to many - it's hard to tell what you're getting, as the term has been twisted to suit vested interests. It looks like it is Lean and Kanban's turn to be trashed due to ersatz versions being forced on teams.
But articles like this aren't helpful unless they explain what they mean Kanban, and what aspects are ineffective - clichés like "software is different" don't illuminate.
The point is that it is a mistake to take a methodology that was created for incremental process enhancement along a manufacturing line and apply it to software development.
I look at a book like The Phoenix Project, written by some fairly respected software industry folks like Gene Kim, and they also recommend the opposite: that software development and IT operations actually are a lot like an industrial shop floor and benefit from being organized in an end-to-end pull flow like Kanban.
I look at Four Steps to the Epiphany by Steve Blank, or Lean Startup by Eric Ries, while they aren't specifically dictating a Kanban board in their work, they're clearly philosophically in the camp of a pull-based approach to organizing work and limiting work-in-progress.
So, what I haven't determined from your article is, what specifically is flawed with these authors views and my experiences? Am I being over-broad in their inclusion? My interprtation of your article this far is a well-meaning but under-argued philosophical aversion to being lumped in with other industrial engineering practices.
Edit: clarity
This isn't really a criticism on the point your making in the article by the way, which I think is still valid. I find it weird too that software development is being shoehorned into a manufacturing job control system.
Regardless, it's not a particularly helpful definition for anybody that's never heard of kanban, and certainly doesn't help anybody familiar with kanban to know what specifically you're evaluating; you need to get everybody on the same page from the outset.
Given lack of concrete examples and your previous posting history I would consider this more of an advertisement for your product, to which I've now applied for an invitation, but you seem to be genuinely responding to comments here and nobody else has complained. I suppose either way, well played.
I have other comments but I'll hold them until I find out exactly what you mean by kanban, because I've been admittedly self-identifying the process I'm using as kanban and maybe it's not.
I will say this much though, the practices of kanban (visualization, limited work-in-progress, managed flow, feedback loops, etc.) are all valuable in my opinion and I wonder which of these you see leading to, or how you see them leading to, the problems you've cited. Also, I wouldn't mind some more concrete metrics to back up such an inflammatory title.
First, an operational definition: Kanban as it's used in lean software development is 1. visual representation of the work that's in the system and what state it is in and 2. an opportunity to limit the amount of work that can be in each state.
That's it.
Almost every organization that writes software uses something to keep track of the work, and what state it is in - by this logic the title of the article could be "spreadsheets - the secret engineer killer", or "JIRA - the secret engineer killer".
According to the article though, Kanban is ruining engineering teams in "nearly every company" that has adopted Kanban out of the 150 companies the author talked to in the last 60 days. (Some numbers on how many of them are using Kanban, and for how long, would have been nice facts to include, btw.)
So, let's unpack some reasons why this is:
"Engineers are not assembly line workers" - Implying Kanban and pull-based systems only work for "widget producers" and forces engineers to focus on the individual trees, not the forest. I think this sort of highlights the author's misunderstanding of Kanban (and to an extent any pull-based system) and what role it serves in an organization. Kanban isn't magic - it not an organizational design, it's not a product development strategy, and it's definitely not a substitute for leadership. It's a chart on a wall that shows what the work of the product development organization looks like, right now.
For an example of an overall software product development strategy that incorporates pull-based systems as one component, I recommend checking out "Principles of Product Development Flow" by Don Reinertsen.
"It teaches you that you and your engineers cannot be trusted to estimate work or handle complex multi-faceted projects." - How does it do this? Nothing about Kanban implies no estimates. In fact if you use Kanban and measure cycle time, you will be doing evidence-based scheduling which will allow you to make better estimates. As for "complex multi-faceted projects" - I don't know what the author is talking about. Please read "Scaling Lean & Agile Development" by Craig Larman and Bas Vodde for some actual evidence and lessons learned on lean / agile approaches being used on huge software projects. Also "Scaling Agile at Spotify" by Henrik Kniberg is worth a read, as Kanban features there (by team choice!) as one small component in a lean software development org design / product development strategy.
"Kanban forces a 'one work item at a time' mentality and resists milestones." This is simply not true and such a basic misunderstanding I have to wonder if the author of the article has taken the time to read any of the introductory literature. If not, I suggest the aptly titled "Kanban" by David J. Anderson. Kanban wants you to limit work in progress, which is one of the basic goals of any product development system. It doesn't say how much it should be limited, or where it should be limited. Every system, everywhere, already has limited-WIP in the form of bottlenecks. The hopeful goal of pull-based systems in general and lean software development specifically is that you'll use these simple tools to look at your process and eliminate wasteful activities and streamline those bottlenecks that must exist to deliver maximum value to your customers. In this sense, you can use Kanban as a tool to maximize the whole of the product development process which is certainly a macro (org level) goal and outcome that stands in stark contrast to the claims in the article that Kanban in general promotes micro optimizations and misses the big picture.
For more general reading on why limiting work in progress is a good idea, I suggest "The Goal" by Eli Goldratt or more recently "The Phoenix Project" by Gene Kim. As far as milestones go, nothing in a pull-based system is incompatible with milestones of fixed date or fixed scope. If your idea of milestones is chucking arbitrary dates on a calendar based on an estimate before work begins and then stubbornly refusing to adapt those milestones when the situation on the ground changes (i.e. milestones of fixed date and fixed scope), then I could see the potential nature for conflict, but surely you're not out there doing that in real life, right? (Right???) If you are, and that's the issue - Kanban isn't the problem, the problem is the assumptions you are operating on are faulty - nothing will work for you. Smarter folks than me have written about the perils of fixed date and fixed scope development, I suggest googling for Neil Killick's thoughts on the matter.
"High performance individuals and companies are goal and date driven." Citation needed. I know many people really, really believe this but you should really verify. Also, see Fred Brooks "Mythical Man Month".
"Kanban was never intended for software development" - What? Again, the guy you quote actually wrote a book on using Kanban with software development teams. You should read it, as it would probably correct 90% of the misunderstandings in your article.
Those are the key arguments in the article about why Kanban is "the secret engineer killer". Hopefully by now it's clear that these arguments aren't very good and it certainly wasn't any trouble for me to refute them along with a bibliography for further reading. That doesn't mean Kanban or lean are perfect though - there still is no silver bullet. Hopefully this inspires some folks to launch a more throughly-researched critique of lean, kanban, or pull-based systems in the future as I think that kind of discussion can be really beneficial.
Criticizing those implementation of the practice is perfectly fine. But claiming that the practice is suppose to be something different than it is, is not fine. I agree with you here, that is the biggest problem. If you understand how kanban for software is suppose to be done, the criticisms don't make sense.
Fad diets mostly fail because people go back to eating the same shitty way they did before, just as when a team adopts kanban marketing and product go back to the same stupid way of doing things they did before.
The sad part is that in the vast majority of organization engineering actually knows more about the product than product or marketing.
The core of it is that most engineers don't want to work on the stupid fucking ideas that product and marketing come up with instead preferring to make the product 'good' instead of creating feature parity with some competitor.
If product and marketing were actually good at their jobs they should at least be able to convince the engineers in their own fucking company that what they are thinking is a good idea. Right now I'm picturing the eye-rolls at Porsche when product and marketing announced the idea for the Panamara.
http://blogs.cars.com/kickingtires/2012/09/of-course-we-need...
The sad thing is that the Panamera (in stark contrast to any rational thought and sense of aesthetics) is not a complete commercial failure. People with too much money are weird.
This so much.