swizec.com

#### Senior Mindset Book

Get promoted, earn a bigger salary, work for top companies

# Your career needs a vision

In his book, The Art of Science and Engineering, Richard Hamming says the key to a great career is vision.

He likens your career to a random walk. A meandering path through the unknown where each step goes in a random direction.

No matter how fast you walk, how often you change jobs, you'll never make it farther than the square root of the number of steps – `Math.sqrt(n)`.

You can grind out more steps but it's gonna be one hell of a grind. You'll burn out before you get anywhere.

Now look what happens when you add vision.

Each step is random, but they're 10% biased towards a vision. You travel a distance proportional to `n` and go far!

You can try it yourself here:

## What's going on here

You can think of your career as a multi-variate optimization problem. You're looking for the best balance among the criteria you care about.

For most people that's a balance between income, freedom, impact, and the rest of your life. The problem has no exact solution.

Computer science solves this class of problem with a hill climbing algorithm. Neural networks use it to converge on a solution, for example.

1. start at random spot
2. pick direction
3. take step
4. are you closer to the goal?
5. goto 2

You can't choose your starting spot. That happened before you were born. The rest is in your control.

How many steps do you take? How big are they? That decides how fast you go and how many at-bats you get. The more attempts, the better.

That's a random walk. No matter how big your steps or how fast, you won't get far.

But if you add a pinch of vision, a small bias towards your goal, you'll have a great career. My simulation has just a 10% chance of making the right decision and look what happens.

What's your vision? Who do you want to be?

Cheers,
~Swizec

PS: the random walk visualizations were coded live on stream, if you're curious how they work, you can also see the source code on CodeSandbox

Published on July 14th, 2021 in Opinions, Learning, Mindset, Books

Semantically similar articles hand-picked by GPT-4

### Senior Mindset Book

Get promoted, earn a bigger salary, work for top companies

Have a burning question that you think I can answer? Hit me up on twitter and I'll do my best.

Who am I and who do I help? I'm Swizec Teller and I turn coders into engineers with "Raw and honest from the heart!" writing. No bullshit. Real insights into the career and skills of a modern software engineer.

Want to become a true senior engineer? Take ownership, have autonomy, and be a force multiplier on your team. The Senior Engineer Mindset ebook can help 👉 swizec.com/senior-mindset. These are the shifts in mindset that unlocked my career.

Curious about Serverless and the modern backend? Check out Serverless Handbook, for frontend engineers 👉 ServerlessHandbook.dev

Want to Stop copy pasting D3 examples and create data visualizations of your own? Learn how to build scalable dataviz React components your whole team can understand with React for Data Visualization

Want to get my best emails on JavaScript, React, Serverless, Fullstack Web, or Indie Hacking? Check out swizec.com/collections

Did someone amazing share this letter with you? Wonderful! You can sign up for my weekly letters for software engineers on their path to greatness, here: swizec.com/blog

Want to brush up on your modern JavaScript syntax? Check out my interactive cheatsheet: es6cheatsheet.com

By the way, just in case no one has told you it yet today: I love and appreciate you for who you are ❤️

Created by Swizec with ❤️