There's No C in DevOps, But There Should Be
No, not *that* C. Software is built by human beings, and how those humans interact with each other matters.
Join the DZone community and get the full member experience.Join For Free
the ‘c’ word – culture
i confess to often talking about the need for culture-change in software development organizations. i hope though that what i mean is something more concrete.
software development is an interesting human activity. it is technically complex, we create the most complex systems (apart from other human beings) that humans have ever produced. it is fragile, there is little in human experience that is quite so intolerant of tiny errors as software. every piece of software that we create is an exercise in discovery, if it wasn’t we would just re-use what we had from before. it is a creative discipline in both the literal and figurative sense. we do this in collaboration with lots of other people and the fate of the organizations that we operate in often rides on what we build.
the trouble is that, as an industry the software development industry has rarely delighted its users. this isn’t really a problem of software itself, but rather the ways in which we have undertaken its development.
we can all think of examples of great software done well, but in nearly all of those cases, the way in which these “exceptional development teams” approached the problems that they faced was different to what most of us have been taught and what the majority of organizations that create software do.
in practice, it is my opinion that the majority of our industry has grown up doing things in inefficient and ineffective ways. this isn’t a small thing. this isn’t a “buy this technology and it will make it all work” kind of problem. there are some very basic, very fundamental things that you need to get right for software development to work effectively. in large part, this is at the level of the ‘culture’, there is that word again, of the organizations that want to create great software.
if software development projects were normal things then we would expect to see as many projects finish ahead of schedule, below budget and exceeding the expectations of their users as projects finishing behind schedule, over budget and disappointing or being ignored by their users.
we would expect to see a “normal distribution”, the blue line in the diagram below. (see figure 1)
instead i believe that we have come to expect, in most organizations, something more like the red line.
we have built an industry that assumes that late delivery, cost-overruns, low quality, and features that users don’t like or don’t want is normal. this is crazy! these are not essential properties of software development.
i believe that what this is telling us is that we have got this badly wrong. we have entirely the wrong model for how software development should work.
it is a bit like this ( http://www.malinc.se/math/trigonometry/geocentrismen.php ). when people thought that everything rotated around planet earth, geocentricism, then it was impossible to imagine how the complex paths of the planets could arise. as soon as you change perspective, in this case to heliocentricism, you get to think about the problem differently. all becomes clearer and simpler. now we can reason, now we can calculate, now we can predict. now we can evolve the next step. newton can describe the inverse-square law, einstein can later describe warps in space-time. without that first step, of discarding a viewpoint that makes the world look more complex rather than less, progress is stalled.
we have grown a culture around software development that does to software development what geocentricism did to cosmology. we can’t see the beauty and simplicity because it is hidden by the complexity of our own creations and assumptions. this isn’t just about how we write code or how we manage deployments or even whether or not developers and operations people sit together. rather this is about how the whole organization thinks about change. how we constitute and organize teams. how we apply governance to projects. how we regulate them. it is about how we deliver new ideas to our users. this stuff is fundamental.
i argue that all organizations that create software want the same thing. they want to have an idea. get that idea, in the form of working software, into the hands of their users and see what their users make of it.
this is my definition of what continuous delivery is all about. this is more than a tool or a process. this is a change in the whole culture surrounding software development.
i think that one form of geocentricism is project-based working. the data is in; we are terrible at predicting the outcome of software projects! so maybe the idea of software projects is wrong. if we look at some of those “exceptional development teams” they don’t very often have a project focus. instead they are in it for the long haul, they are focussed on products and look after the software for its whole life. if we change our culture to think of an on-going relationship with our software and our users, things start to make more sense.
cross-functional teams and user acceptance testing
projects lead us to think in terms of budgets and timescales. what if, instead, we did all of our work as a series of small, maybe even tiny, changes. we could quickly decide if each change is worth a try. maybe we could even do simple versions of a change to see if our users liked it, thus avoiding costly development of features that no one ever wanted.
how do we cope with big problems? we subdivide them. mostly though we sub-divide them along technical boundaries or job-function boundaries. this creates silos and breeds a whole raft of complexity to surround it. do you work in an organization with front-end and back-end development teams? how about a separate qa or ops team?
as soon as you organize like this you have built a cross-team dependency in to almost every new requirement.
how about we change our culture. instead of dividing our teams by technology or job function we establish cross-functional teams responsible for an independent area of the business. in such an environment each new requirement usually has a natural home in one team. this simplifies the work of planning, but also simplifies the work within the team. allowing them more autonomy and enabling them to make decisions that will make them more efficient and improve quality, or even just meet their users needs.
i once worked on a software project where the development team was disbanded before user acceptance testing was carried out. cargo cult process of the highest order! so there was an expensive, slow, late, manual process to evaluate whether or not the software that the team had built was fit for purpose, but there was no development team, except for me and two others, left to address any concerns. had the users decided that we had completely misunderstood some key aspect of the system there was nothing we could do about it.
how about we change culture, instead of waiting until the end to see if users are happy, why don’t we ask them as soon as we possibly can? if we can deliver new changes to them quickly then we can learn from them. if the nature of our software is such that we can’t do that, then we need to find a, simple, alternative. maybe we can have representatives of the users on our team using the software all the time as it is developed?
you can’t “inspect quality in to a product”. quality is “built-in”. user acceptance testing, in fact any form of manual regression testing is another of those assumptions built in to our industry that needs challenging. instead of looking at code after it is finished, how about we think in terms of “executable specifications” for the behavior of our systems. let us not waste time defining the behavior of our system in a document. let us instead, make those definitions executable and run them every time that we make a change to our software so that we can be certain that our system still fulfills its needs. get developers into the loop and get them thinking of asserting the behaviors of the code that they write as they write it.
if you have read anything about agile development or continuous delivery these ideas should be familiar to you. but make no mistake, this is a culture change. we need to look at software development and think again. we need to challenge the assumptions that constrain us. it is *not* acceptable or normal to have hundreds of bugs in production. it is not an inevitable characteristic of software. we can’t plan reliably, so let us work in ways that don’t need us to.
these ideas are not new. i believe that if you look at the history of outstanding software development, then it won’t be planned, waterfall, manually tested. it will be evolutionary, incremental, experimental and iterative. it will have been carried out in a manner totally alien to the majority of software development process in our industry. success has been an outlier that required people to break convention. let us work to make that success curve more evenly weighted.
it is time to change the culture of our industry.
ready to make some enterprise changes in 2016? learn from the best with our on-demand “ top enterprise devops lessons for 2016 ” by andrew phillips.
Published at DZone with permission of Dave Farley, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.