TL;DR
Software Craftsmanship risks putting the software at the centre rather than the benefit the software is supposed to deliver, mostly because we are romantics with big egos. Programming is about automating work like crunching data, processing and presenting information, or controlling and automating machines.
Non-programmers donāt care about the aesthetics of software in the same way non-plumbers donāt care about the aesthetics of plumbing ā they just want their information in the right place or their hot water to work. (Although itās fair to say they appreciate decent boiler controls.)
Motivation for software craftsmanship
It would be great if programming were a proper profession, but it isnāt. A profession has a structured model for advancing through levels of skill and ability, be it studying for a law degree and articles (working for a legal practise) or the years of undergraduate and medical training a doctor undertakes before specialising. The latter has clearly-delineated ranks, from junior doctor, via a brutal regime of 80-hour weeks, to consutant.
Conversely there is no minimum entry requirement for programming. Some people naturally have a flair for it (two of the best programmers I know never went to college), some teach themselves out of books, others just tinker until they get something working. A programmerās skill and ability is only as good as their personal reputation: there isnāt an accepted, transferable ranking like there is in a āproperā profession.
To illustrate how low the bar can be, the mission statement of Visual Basic (whether explicit or not) was to democratize programming. Anyone who could drag and drop controls around and understand a modicum of technical stuff could throw together a solution to a problem with relatively little effort. Wizards and other utilities enable power users to create sophisticated spreadsheets in Excel with no practical programming knowledge. Language guru Erik Meijer has spent the last few years talking aboutĀ democratizing the cloud, i.e. making it as easy to string together online services and utility computing as VB made it to string together other applications. In other words, there are people actively working to lower the already low barrier to entry for programmers. (These are Microsoft-specific examples, but then Microsoft has done more than most to dumb down programming, or make it accessible to the masses, depending on your point of view.)
The IT industry is relatively young ā only a couple of generations old in fact. (As an experiment, go and find out how many of your coworkers have a parent who worked in IT. See?) It is also something of a gold mine. Compared to a lot of industries it is relatively well paid indoor work with no heavy lifting, and remember the thing about no minimum entry requirement? This means entire economies have grown up looking at IT as a numbers game: if you throw enough bodies at a problem you should be able to make it go away, and if you can get bodies for cheap enough (yet still relatively well paid compared to the alternatives) then you can throw aĀ lotĀ of bodies at a problem.
I spoke to someone once who told me he was currently engaged in a public sector project to provide online tax credits for builders. As a builder you would have an account online where you would log in and buy tax credits that were offset against your end-of-year tax bill. In other words, it was a site that had user accounts and a (third party) card payment facility, and not much else. This project had 400 programmers working for three years.Ā Thatās more than a person-millennium of effort. For a web app! That Iām paying some consortium for out of my tax money. But thatās a rant for another day.
So from a purely demographics perspective we can see that the vast majority of people in the IT industry are there because a) itās a well paid alternative to other white collar office work or even manual labour, and b) there is no incentive to make it anything other than a commodity numbers game.
Then there are the others. The minority of people whoĀ genuinely love programmingĀ and choose to excel at it. They understand software development is a skill, in fact a whole portfolio of skills: understanding and modelling a problem domain, understanding programming languages, libraries, paradigms and idioms, choosing which to apply in a given situation, learning and understanding algorithms, mastering the āpath to productionā (build, deployment, release), monitoring and availability, process automation, Lean theories of supply, production and product development, utility and cloud computing, concurrency and parallelism, I could go on. Those guys want a way to differentiate themselves. The oft-quoted figures of tenfold increase in productivity of expert versus novice programmers are wrong by orders of magnitude in my experience. A really great programmer (and Iāve been lucky enough to work with a handful over the years) can out-perform a doing-it-for-the-money programmer by orders of literally hundreds, delivering in hours or days what would take an average developer weeks or months.
How are those guys supposed to differentiate themselves? And how can they help others in the industry who have a real love and appreciation for the software they write? We need some sort of apprenticeship model, and a way to identify masters, both to apprentices and other masters. That sounds like the sort of model that craftsmen use. And it also appeals to the average alpha geekās romantic streak, possibly incorporating a system of secret signs and handshakes.
The thing is, at one level software can be described by the utility it provides. It doesnāt matter how ugly it is under the hood as long as it delivers the goods. A programmer can show beautiful software to another programmer, but thatās where the appreciation stops for softwareĀ per se.
Seeing the negative space
My wife is an artist, and one of the things she studies is negative space. This is the space between the obvious shapes or objects in a picture, as opposed to the objects themselves. An understanding of negative space is critical to being able to faithfully render a composition. As the model sits sideways on, notice the curved triangle bounded by the upper and lower arm and the side of the body. See how the space between the front of the face and the window frame in the background is nearly rectangular and quite narrow, and see how the outline of the nose creates a dent in the left-hand side of the rectangle. Look at the chin, actually the space below the chin, to observe the angle between the bottom of the jawline and the front of the neck. And through the window, notice the colour of the sky in theĀ space betweenĀ the winter tree branches. Itās different from the grey-white cloud above the trees. All of these shapes and colours ā the space between the obvious stuff, the negative space ā these are the shapes that determine how faithfully you represent the image on a canvas. But mostly you donāt notice them ā especially in a good painting.
So what does this have to do with software? Well it seems to me the most succesful programmers Iāve encountered donātĀ craftĀ software; they write software in order to moveĀ informationĀ around, in order to get something done. Information is the real deal ā the software just defines the space that it moves around in. For those programmers, success is about getting information from point A where itās currently languishing to point B where itās going to actually be useful, as quickly and effectively as they can. Success in a UI is about rendering or capturing exactly the information that will be useful ā no less and certainly no more ā in a succinct, obvious way. The software is incidental, a detail, hidden away in the wings, and it is ultimately entirely disposable.
Why programming is not a craft
With a craft, the product has intrinsic beauty in its own right. A cathedral is really a big hut for people to meet in and worship. Make it from stone by all means, so it lasts longer than a wooden hut, but why all the fancy decorative stuff? Of course it is there to engender a sense of majesty and wonder, and cause us to engage the part of ourselves that appreciates beauty and magnificence, so we enter the cathedral reverently and humbled, ready to worship. What makes it a craft is the work above and beyond its basic utility to give it intrinsic, aesthetic beauty.
If I use the same stone to build a traffic bridge over a railway line, I care about its utility and structural effectiveness. If itās a good, simple bridgeĀ I wonāt even notice itās there!Ā We donāt notice most of the engineering that goes into the roads we travel on or the railways we use until something goes wrong! (Thereās a really cool word for this phenomenon ā when you only become fully aware of something when it fails ā but I canāt recall it right now.)
There is a difference between the mindset of a master stonemason sculpting the expression on the face of a gargoyle and someone using the commodity blocks that make up a multi-storey car park. In the latter case the last thing I want is someoneās āpersonalityā causing some of the blocks to be different sizes and no longer interchangeable, never mind the added expense of having someone manually hew the stone rather than using machine tools. In the former the stonemasonās attitude isĀ indulgent. He is putting his signature (and his ego, and his reputation) into this magnificent representation of Hellās best. If you just wanted an oil-pouring spout you could get one from a DIY store.
Software practitioners ā especially, ironically, the good ones ā often lose sight of this. They fall in love with the software itself and start thinking of themselves as craftsmen of software.
The easiest qualification in the world
So hereās my concern with the idea of Software Craftsmanship. Itās at risk of letting programmersā egos run riot. And when that happensā¦ well, the last time they went really nuts we got Web Services, before that J2EE. They convinced the British government that they wanted an uber-database to store Everything Ever About Everyone. You see where Iām going?
When I looked at the Software Craftsmanship Manifesto, something inside me died. (Something else inside me burst out laughing and told the other thing to stop taking itself so seriously, so weāre all better now.) Apart from being, well,Ā bland, it is just so self-evidently an oxymoron. If its message is that we need to think of ourselves as software craftsmen and that this is somehow special, then what a spectacularly easy bandwagon it is to jump on.
Do I need to demonstrate any kind of skill? No. Any specific credentials? No. Any kind of experience working in the field? Nope (and as the Pragmatic Programmers are happy to remind you, ten years experience is very different from one year repeated ten times). In fact, all I have to do to associate myself with Software Craftsmanship movement is toĀ fill in my name on the website. Woohoo! Iām now associated with the Manifesto of Software Craftsmanship! Is no-one else seeing the irony here?
The (original) travelling salesmen problem
Back in the day ā while the West was busy being Medieval ā Japanese warlords used to hire bands of mercenaries called Samurai to, well basically beat up other bands of Samurai. Your life expectancy as a Samurai warrior was usually pretty low, and dropped dramatically if you came off your horse. In such times the martial art of jiu jitsu was born. The premise with jiu jitsu is that you have come off your horse in battle: you are unarmed, outnumbered and your opponents have both a height and weapons advantage over you. Youāre pretty much stuffed unless you can pull some cool moves out of the bag.
As Samurai moved around, hiring themselves out to different warlords, they would want to join the local martial arts school to continue their training. Now you can imagine, if you learn jiu jitsu in one dojo up to a certain standard (weāll call it a black belt) and then turn up at another school, itās pretty tricky to get any kind of calibration without involving some life-threatening fighting with the new kid. And without calibrating, you canāt know whether someone is any good.
Ever resourceful, the jiu jitsu schools developed a sort of dance, called theĀ nage-ne-kata, comprising five groups of three techniques. For each technique you both execute the technique and have it done to you, to demonstrate not only your fighting skills but your falling and rolling abilities. All senior students would learn the nage-ne-kata, and if they went to a new school, the sensei would ask them to demonstrate it for them. It is still taught today in some ju jitsu schools.
You can tell a lot about someoneās jiu jitsu from their nage-ne-kata: how they stand, how they hold their stance, how they move, how graceful they are, how well they understand balance, how well they respect their uki (the partner), how well they roll and fall (and how quickly they get up!), whether they favour one side over the other, their spatial awareness. Just from one little dance.
Letās be craftsmen then
So, back to the plot, Iām reassured by the kinds of people I see involved in the Sofware Craftsmanship movement, the likes of Kevlin Henney, Bob Martin, Corey Haines, Glenn Vanderburg. These are pragmatic, sensible, down-to-earth and above all genuinely humble people. My concern is that the glamour is overtaking the intent, as evidenced by the sheer number of people wishing to align themselves with the Software Craftsmanship movement.
I would love to see someone rewrite the Software Craftsmanship Manifesto in terms ofĀ getting resultsandĀ delighting customers. I donāt want āsteadily adding value,ā I want āamazing their customers every day!ā Software craftsmen should be egoless, humble, with a focus on the outcome rather than the code or the process. Iād like a call to arms to stop navel-gazing and treat programming as the skilledtradeĀ that it is.
No-one wants your steenking softwareĀ ā they want the capabilities it gives them, and they want those yesterday. (Iāll specifically exclude the User Experience folks. Theirs is genuinely a world of aesthetics and human understanding. They, to use a bricklaying term, do the face work ā the fancy stuff people actually see.)
Maybe there should be a Software Craftsmanship Council, that confers membership in a collegiate yet transparent way, in just the kind of elitist model that desperately upsets the folks who have systematically dumbed down the education system in the UK (but thatās another rant for another day). You only get to join if those already there believe you will be a credit to the notion of Software Craftsmanship, just like Ph.D. viva boards do today.
A truly skilled programming team can deliver amazing business results in insanely short amounts of time. Letās go after some of that! IĀ wantĀ your experience. IĀ wantĀ your knowledge. IĀ wantĀ you to show me āthe simplicity the other side of complexity,ā to quote Oliver Wendell Holmes. It takes a real expert ā a real craftsman ā to see the elegant simplicity buried away inside the mess we call enterprise software, for instance, and tease it out.
Calling programming a trade takes nothing away from the desire for professionalism, experience and expertise. In the same way I want an expert electrician wiring up my house rather than a cowboy, I want an expert programmer enabling my business.Ā What I donāt want, however, is a prima donna plumber who insists on talking about the elegance, beauty or art of plumbing, or who insists that I appreciate the aesthetic beauty of his joinery, or will āonly work with other rock star plumbers, who only practise copper-driven plumbing.ā The best software should be understated and unobtrusive (as, maybe, should be the best programmers). I donāt want to hear the clanking of information as it rattles from one poorly-implemented system to another, through ill-conceived interfaces.
So what now?
While I was formulating this article I made a few comments on Twitter about it and I received some interesting responses. One person suggested a programmer is a craftsman not unlike a silversmith. I would argue that the value of silver or gold jewellery is intrinsic to the jewellery. I donāt use the itemforĀ anything other than for others to admire its beauty (and by association my significant-yet-understated wealth and taste).
If weāre going to use gold or silverwork as an analogy it would be in something like a speaker cable, where the properties of gold contacts improve the quality of the sound. In this case, however, I want the gold connector to beĀ identicalĀ to a cheaper one. If the cable manufacturer wants to demonstrate their aesthetic abilities, Iāll be a lot happier if they do it by making the cable look fancy than by messing around with the shape of the connector!
If youāve read this far, then thank you. Now hereās what I want you to do. I do think there should be a Software Craftsmanship Manifesto, but not the thing thatās currently out there. I think it should be a call-to-arms, feisty, opinionated, brash and everything that a good manifesto should be (Iām channelling Kevlin Henney here). I also think there should be a way for passionate, skilled programmers to differentiate themselves from the mainstream commodity bodies, and also to recognise one another, and demonstrate their value to potential employers. What could that be, and how could we make it work?
As a buyer of software solutions, wouldnāt you want to know your systems were being built by master craftsmen rather than day jobbers? Youāre paying for this and you deserve some kind of reassurance. Letās figure out how to provide it.