Randomness and Bughunting – Antifragility Applied

Today’s entry describes one way in which development teams can benefit from disorder.

In my previous blog post, I introduced the triad of fragility, robustness, and antifragility. The fragile dislikes chaos, the robust is resistant to chaos, and the antifragile can benefit from chaos. I also mentioned that some amount of disorder (stress, change, volatility, variation, chaos, and the like) can potentially improve systems–software or otherwise–and I think that individuals and organizations can sometimes benefit from adding disorder to their environment. What categories do software and software developers fall under, and how can we make our development systems benefit from stress?

iceberg

Like an iceberg, the costs of waiting to solve a problem can be quiet and tough to see. Photo credit: Ilya Haykinson.

I classify software as fragile, but software developers as antifragile. When a programmer is hit by a problem, he or she can recover from it, resolve it, and use that knowledge to prevent related problems in the future. A program encounters an unexpected bit and shuts down completely.

Of course, too much chaos can destroy an individual altogether. I am not advocating for complete disorder. Rather, I am noting that individuals can benefit from a some amount of chaos in the environment. However, it may take a certain perspective to realize how unexpected problems can help an a team of developers.

Development teams can become more antifragile by fixing mistakes immediately (if possible). Consider a fragile team of developers. When they encounter the slightest problem, the entire system breaks. A robust team, on the other hand, is not bothered by the issue. They solve it and move on.

An even better reaction, made by an antifragile team, solves the problem quickly and also finds the root cause. This prevents further errors and allows the codebase to remain intuitive and extensible.

However, a developer (myself included) might think that patching a new bug is not a priority. “It will take too much time,” we think, “and we need to implement feature Y by next week.” So why not put off the fix until later?

First of all, It’s easier to recall the mental model of a certain object on the day it was first designed, rather than six months down the road. In addition, a codebase tends to increase in size with time. By fixing bugs at the source, errors are caught before they propagate. Future extensions won’t have to deal with spotty documentation and untested corner cases if those problems are caught at the source. And finally, we won’t have to inform new team members about software “folklore”–things the company does but few know why.

The previous paragraph describes an ideal situation. In the real world, we can’t solve every problem immediately. Sometimes it may be more valuable to press onward with development than to patch an old bug. Nevertheless, the costs of waiting too long can be quiet and invisible. No one notices a thousand careful captains avoiding an iceberg, but everyone knows about the Titanic.

So let’s avoid disasters. Consider the hidden costs of waiting to fix a problem, and see for yourself how you can benefit from disorder.

Posted in Software | Tagged , , | 1 Comment

Reacting to Randomness – Antifragility 101

The Art of Manliness has a fantastic illustration and article on antifragility.

One of my favorite authors, Nassim Nicholas Taleb, describes things–organisms, objects, systems, et cetera–as being either fragile, robust, or antifragile based on how they react to disorder. This distinction helps us talk about everything from pebbles to companies, and I may use these terms to describe things like software.

The first of the three categories is the fragile. Fragile things generally don’t benefit from disorder (randomness, stress, change, volatility, variation, chaos, and the like). For example, computers don’t like variation in their environment. Hardware requires regulated temperatures, and user errors can have disastrous consequences on software systems. The best condition for a computer to operate in is a highly-regulated, predictable bubble. It is more often harmed by environmental randomness (say, a busted fan) than helped.

The second category describes the robust. Robust things are not affected much by disorder. A rock is more robust than a computer because it can withstand a greater number of physical and chemical shocks. Rocks can endure boiling temperatures, handle gallons of coffee spilled on them, and even resist users throwing keyboards at them. It takes thousands of years for the stress of wind and water to whittle a rock down to dust–rocks are resiliently robust.

The third and final category is the antifragile. Antifragile things can benefit from disorder. When stressed, antifragile things bounce back and return greater than when they started. For example, muscles don’t grow stronger unless they are subject to varying demands–they don’t improve by resting all the time. And while pushing muscles to their limits may cause temporary soreness, those same muscles gain long-term strength.

Antifragility has its limits, of course. With enough stress, almost anything will break. The important idea is that the antifragile has the possibility to improve in a chaotic environment, while the fragile tends to break.

It is also important to note that things are not rigidly placed into one category in the triad. There is no unit of measurement for fragility, so things can only be labeled as more or less fragile than other things. It is also possible to be antifragile in some ways yet fragile in others. A plant can benefit from variation in temperature, yet remain vulnerable to disease.

Now that we know about the triad of fragility, robustness, and antifragility, what do we do? I think that many of the systems we have in place today suffer when exposed to disorder. However, we can improve these systems. Because the world is full of randomness, a system that can harness unpredictability is more likely to survive than a fragile one. In fact, many systems already have antifragile tendencies. So by knowing the distinction between fragile, robust, and antifragile, we can actively work towards making ourselves and our systems benefit from disorder.

How do you think we can create things that gain from unpredictability?

Posted in Psychology | Tagged , | 3 Comments

The First Entry Doesn’t Matter

Some authors want to start their blogs (originally known as “weblogs”) with wonderful, lengthy, detailed stories. They’ll spend hours perfecting their 2000-word epic, obsessing over every syllable, ensuring that millions will flock to read their heartfelt story immediately after their blog is launched to the public.

I think that the first entry doesn’t matter.

Why would anyone want to check out a new blog? Millions of well-written blogs already exist, and many of them are authored by experts in a particular field. There’s little reason for me, a reader, to seek out a new weblog when I have so much to read in the first place.

However, I am writing this blog despite the odds because I think that everyone can contribute something to the Internet, whether or not they know it yet. The hard part is figuring out what I can personally bring to the table.

So why do I think the first entry doesn’t matter? I should keep my first entries imperfect and brief precisely because I do not yet know what works. I could spend hours poring over these sentences and trying to guess what will sound interesting, but I have no idea what will resonate with my readers. In a sense, the first entry of a blog is a test to see if a) I can write, and b) if anyone is interested in reading what I have to say about a topic. Perhaps it can be considered a minimum viable product.

So instead of writing a huge amount of text in a single, narrowly-focused, two-thousand word article, I am beginning this blog with several short entries about several fascinating things (and I’ll elaborate on the topics my readers find appealing). Hopefully, this strategy will be more interesting and fun for everyone. Do you think authors should should try a narrow focus in their first blog entries, or is it better to use their time writing a higher quantity of good-but-not-perfect posts?


If you’re interesting in starting (or improving) your blog, I recommend this freely available, concise PDF by Jamey Stegmaier. And although I’m far from being an expert, this is not my first weblog. I’d be happy to give some feedback about your blog–feel free to tweet @sheldonsandbekk or comment below.

Posted in Psychology | Tagged , , | 2 Comments