Strategy Smells

Hints that your strategy isn't working

Smell is the scent closest tied to memory

“Yeah, it’s a good start... but I don’t think it’s the right approach.”

The year is 2011, it’s my first programming job, and the look in my boss’s face expressed clearly that he was not pleased with my work. He leaned across my desk in the living room of the Palo Alto home where we lived and worked, and gestured loosely towards a region of code on my screen.

“See how you have all those comments explaining this complicated function? That’s a code smell. Ideally you can re-write this so that the code is more self-explanatory and easier to work with.”

By that point I wasn’t even listening. All I could think about was that he said my code was smelly! What a weird turn of phrase!

“Code smells?”, I asked, bewildered.

“Oh, right! It’s a thing!”, he said, explaining that “code smell” is a term that programmers use to talk about signs of design flaws in source code. The idea is that it’s not exactly a bug, but it indicates a problem. It’s like when you step in dog poop — the actual problem is located under your shoe, but it’s your nose that detects the first sign that something has gone wrong. (I should know, I just got a puppy.)

And with that, my boss gave the table a solid pat, and wished me well. I chuckled and got back to work. And then the idea of code smells sat dormant in my brain for nine years.

Until today, when I realized that strategies can have smells too.

Learn more

This post is for
paying subscribers

Subscribe →

Or, login.

Read this next:

Divinations

Finding Power

An introduction to Clay Christensen’s most underrated idea: “The Conservation of Modularity”

100 🔒 May 4, 2020 by Nathan Baschez

Divinations

Will HEY Work?

The dust has settled. Now what?

97 🔒 Jun 26, 2020 by Nathan Baschez

Divinations

Instagram can’t recreate TikTok’s Magic

The content format is a red herring. What really matters is the structure and purpose of TikTok’s network, which is antithetical to Instagram.

164 Aug 24, 2020 by Nathan Baschez

Superorganizers

The Neuroscience of Achieving Your Goals

We turned a Huberman Lab Podcast Episode into an essay

56 May 14, 2022 by Lewis Kallow

So You Want to Launch a Physical Product

What I learned building an eight-figure candle business

81 May 16, 2022 by Ajay Mehta

Thanks for reading Every!

Sign up for our daily email featuring the most interesting thinking (and thinkers) in tech.

Subscribe

Already a subscriber? Login