If pragmatism raises technical debt, call it oversimplification (rant)

Post image

The word “pragmatism” or “pragmatic” is, in my personal opinion, the most overrated word in agile development. Many people use this as a buzzword without knowing what it means. I hear people saying “He solved that complex problem in half an hour, he’s so pragmatic!” and think for myself “Yeah, but that ‘solution’ probably causes other devs three times more effort than a sustainable solution would take.”

Okay, but that’s only my anger speaking. Let’s read a definition of pragmatism:

a reasonable and logical way of doing things or of thinking about problems that is based on dealing with specific situations instead of on ideas and theories – merriam-webster.com

A Reasonable and Logical Way

So even pragmatic solutions have to be reasonable and logical. I would ask so many people out there: “Is missing out documentation, tests and software design principles really a logical and resonable way of solving problems?” At least I don’t think so. Maybe if it’s only for a Executive Board presentation, you can rapidly build a prototype without having documentation or tests. But doing that, one has to take care that this prototype is not going life two weeks later.

Based on Dealing with Specific Situations

Of course, if there is a disaster case, you cannot think about the best way to build a solution for 2 days. What I am talking about are estimated, scheduled projects which are barely “fucked up” technically, because one wants to finish them fast or without thinking about it. In a second, or maybe third release, technical dept is appearing but because you have not documented nor tested, you cannot refactor. This is not pragmatism!

For specific situations or problems in development, there are often provided patterns or parts of solutions. Using those “best practices” is probably the quintessential of pragmatism. Building an over-simplified custom solution, because one doesn’t understand the best practice, is not.

Instead of on Ideas and Theories

There are many theoretical approaches in development. Let’s take the Enterprise Design/Architecture Patterns (Gang of Four) as an example. There were some people telling me, that they don’t use them, because this is theoretic and has nothing to do with pragmatic solutions. But if a “pragmatic solution” is the best way to deal with a specific situation, then I would highly recommend those patterns because the are very pragmatic.

Finishing…

Many people use words like “pragmatism” or “best practice” as buzzwords but don’t understand what they mean. Therefore, please be aware that pragmatism does not mean laziness or oversimplifying a complex problem. It means thinking practical, but also logical and resonable, so don’t misuse them.

You May Also Like

How a Strong Type System Saves You Documentation, Tests, and Nerves

How a Strong Type System Saves You Documentation, Tests, and Nerves

I was recently inspired to finally write this post. Especially in weakly- or untyped languages, such as the JavaScript or PHP world, the added value of strict type systems is often not recognized. Instead, many discussions and comments revolve around the need for tests or code comments. Contrary to that, in the functional programming world, we leave such checks to the compiler. In this post I would like to give a short overview and explain how to use a strict type system for everyday checks instead of writing type checks, tests and documentation for it.

How to effectively visualize an Application Landscape in Enterprise Architecture

How to effectively visualize an Application Landscape in Enterprise Architecture

In enterprise & solution architecture, connecting boxes with arrows is an often used and overrated visualization from high-level, thru component architecture, down to data and class diagrams. However, to create a holistic view on systems, component diagrams are not enough! When it comes to analysis or transformation of a high-level application- or service-architecture, I prefer to draw an Application Landscape Diagram, which I would like to show and elaborate on in this post.