On the said fall of the craftsman and the rise of the scientific programmer
There’s a hot debate brewing up for some time. Scientific developer jobs — those involving machine learning, data mining, etc. — are on the…

There’s a hot debate brewing up for some time. Scientific developer jobs — those involving machine learning, data mining, etc. — are on the rise on job opening statistics. These jobs quite heavily require a CS background and thorough knowledge on algorithms and specifically, mathematics. The proponents claim that programming was always a scientific thing and denounce the movement of software craftsmanship.
How did software craftsmanship evolve?
Software, scientific or not, is complex. Writing software is about managing complexity. It turns out that there isn’t a single, true way of managing complexity, and experience and vision are key virtues at it. Generally speaking, you improve your software skills as you get more experienced. That’s why design patterns emerged — they are proven guidelines to a very nasty problem. They are there so you don’t have to reinvent the wheel.
Over time, we began to realize that software is actually an art form. Each creator has their own style and approach. Furthermore, it’s a utilitarian art form; that is, it has a function — your product is meant to be useful to the audience. That’s actually very similar in concept to a master carpenter who creates hand-crafted furniture. Its main function is to serve the audience as a tool — a desk or a chair, for example. But its design is unique and you can almost feel the artistic touch of the carpenter. You can tell, by a mile, if the work is from the hands of a master carpenter or a novice.
Software is no different. I’m talking about the big, enterprise software which has to serve a large audience and live for many years. Web applications, mobile applications, social media or even scientific tools such as MATLAB are all software that require utmost attention to detail and a good structure. That’s why we have architects, lead developers, senior developers and junior developers. We design software to scale. We write software in such a form that it defines the rest of your life maintaining that software. That’s where the analogy of software craftsmanship comes from. It’s a craft and how you build it drastically changes the outcome. The works speak for their creators; greatest works come from the greatest masters, and cheap ones (that are broken even before launch) come from the inept. Experience is not the sole factor defining your craftsmanship, you may be coding for half a century and you may still be a lousy craftsman. It requires taste, vision and an analytical, critical mind — you have to be a critic of your own work in order to improve.
Scientific programmers are also software craftsmen
When you look at it this way, it doesn’t really matter if you’re doing machine learning or games. They are the topics, but the fundamentals remain the same. A developer who knows how to create a maintainable, scalable architecture is an artisan, whether the topic is scientific or not. Software craftsmanship and the scientific programmer are not mutually exclusive. The term scientific programmer refers to the category of the work and the term software craftsmanship refers to the actual building process.
I’ve created enough software in my career that range from simple MATLAB simulations to very complex ones, from simple logic circuits in HDL to CPUs, from static web pages to huge portals, from simple desktop apps to complex mobile apps. I can tell that regardless of the language, the platform or the field of application, the maturity of your style shows itself on the end result. Scientific programmers may be good craftsmen or they may be bad craftsmen. The field of application doesn’t affect this. Being a scientific programmer is just like being a mobile programmer or a game programmer; you need expertise on the topic but in the end you’re writing software.
On the other hand, being a software craftsman doesn’t mean that you are not following scientific breakthroughs or scientific methodology. In fact, those who rely on science and the scientific methodology do far more better than those who only rely on gut feeling. But applying science doesn’t make you a scientist and if you’re still writing software, it surely doesn’t promote you from a craftsman to a scientist. Real software craftsmen are also good engineers and you feel the difference between a gut-feeling-driven craftsman who doesn’t employ computer science fundamentals and a true engineering(-at-heart?) craftsman with analytical approach. It’s true that the former has a lot more population, but almost always the latter produces better outcome and proves to be better in the end. The existence of the former doesn’t imply that software craftsmanship is inferior. Software craftsmanship doesn’t deny science, it teaches the best practices to approach and make use of science.
Software craftsmanship lets you stand on the shoulders of giants
Finally, just as the scientists stand on the shoulders of giants, the developers also make use of the collective experience of former masters. I follow the software craftsmanship methodology by heart and I’m teaching tens of apprentices how to be a good artisan. The intricacies of great software, the delicate patterns, the hidden pitfalls and the hidden gems. Just as the master artisans, master software developers have their styles and they will expand those styles into schools. They teach the path of development to their apprentices. That’s actually the best way to transfer experience to a novice. Where experiencing and learning everything from scratch would take tens of years, finding a good master and being a hard-core apprentice takes only a few years. This model is so suitable for software, I haven’t seen any other approach perform better. It’s the best approach to living up to our heritage of scientists. For more information and ideas on this topic, I would suggest reading Apprenticeship Patterns: Guidance for the Aspiring Software Craftsman. It’s a short read, and the ideas are articulated concisely and perfectly.
We will continue to make the world a better place by teaching the young the best practices of development. Our knowledge is the best thing we can leave to the coming generations. If you have a long history with software and you feel like there’s something missing in your life, find a young apprentice and train them. Give back to the community.
Originally published at arm.ag.