Swizec Teller - a geek with a hatswizec.com

    Flow good for programming, not engineering

    Friend, how good are you at your best?

    Nobody cares. How good are you at your average? What about your worst?

    Everyone's great at their best. When the stars align, the energy is just right, the temperature is perfect, the code hits that sweet spot between easy and challenging, you had the perfect burrito, and your beverage tastes amazing and endless.

    Your fingers glide across the keyboard, your brilliance is endless, an aria sounds from the heavens when you run your code.

    The Senior Mindset series

    Get a series of curated essays on the mindset of a senior software engineer. What it takes to get there, what should you do when you're there, how to change the way you think.

    it describes my days in a way I have not read before.

    This was a very enlightening article about being a senior engineer.

    Join over 10,000 engineers just like you already improving their careers with my letters, workshops, courses, and talks. ✌️

    Reality doesn't play fair

    \<record scratch>

    That's not how reality works you doodoo!

    Reality looks like a scene from a bad sitcom.

    You roll into work 10 minutes late because your car broke down, the coffee machine is broken, you spill water on your keyboard, slack pings you every 10 seconds with an oh so very important message, JIRA screams at you about bugs, production is down, your new team member can't get their local environment to run, and the PM is like "Yo, where's that feature you promised last week?"

    Oh and your computer started an update in the middle of a Zoom call (you were presenting), kicked you out, and now Chrome won't start.

    How good's your code now my friend?

    That's where you must focus your energy. How good is your performance on a terrible annoying hell of a day?

    Swizec Teller published ServerlessHandbook.dev avatarSwizec Teller published ServerlessHandbook.dev@Swizec
    How good are you at your worst? Work on that.

    Everyone’s great at their best.

    We idolize folks like Jimmy Hendrix, Ayrton Senna, Michael Jordan, and Queen not because they had a few fantastic days here and there. We idolize them because they were great every time.

    It's your typical performance that defines you. Consistency. What You Do is Who You Are as Ben Horowitz would say.

    What does that have to do with flow??

    Flow is when you're at your best.

    wmDxWjpnghd982j

    Mihaly Csikszentmihalyi invented/discovered/defined flow. I wrote about it lots in Why Programmers Work at Night back when I thought flow was the only way to code.

    But flow is hard to get.

    Most days work is ... work. You put one foot in front of the other until you get where you're going.

    That's because programming and engineering are two different things.

    Programming is fun, almost art. Solving hard problems in beautiful ways. Flow is perfect.

    Engineering is work. Solving hard problems in obvious stupid ways. Flow is unnecessary.

    The emphasis is on how will a bunch of distracted people with no skin in the game and zero care for your code maintain this when you're not there to be brilliant?

    And remember 👉 they're upset because they were late for work, spilled their coffee, and got pulled in a million directions as soon as they sat down.

    If you wrote it in flow, at your most brilliant, they might not even understand your code! YOU won't understand it when you're distracted and upset.

    Remember Kernighan's Law: debugging is hard.

    Mark Erikson avatarMark Erikson@acemarke
    @ChaseMc67 @Swizec Cue the classic Kernighan quote ( ):

    "Debugging is twice as hard as writing, so if you're too clever when you write it you're not qualified to debug it"

    What can you do about it?

    Not much. Keep going.

    When shit's going down, when everything's crap, the best way forward is through.

    And when you code, write down everything. It helps you recover from interruptions.

    Cheers,
    ~Swizec

    PS: remember to read the docs

    Did you enjoy this article?

    Published on April 24th, 2021 in Opinions, Mindset, Flow

    Want to become a true senior engineer?

    Getting that senior title is easy. Just stick around. Being a true senior takes a new way of thinking. Do you have it?

    Leave your email and get the Senior Mindset series - a series of curated essays on the mindset of a senior software engineer. What it takes to get there, what should you do when you're there, how to change the way you think.

    The Senior Mindset series

    Get a series of curated essays on the mindset of a senior software engineer. What it takes to get there, what should you do when you're there, how to change the way you think.

    it describes my days in a way I have not read before.

    This was a very enlightening article about being a senior engineer.

    Join over 10,000 engineers just like you already improving their careers with my letters, workshops, courses, and talks. ✌️

    Have a burning question that you think I can answer? I don't have all of the answers, but I have some! Hit me up on twitter or book a 30min ama for in-depth help.

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

    Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.

    Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first 💰 on the side with ServerlessReact.Dev

    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 bySwizecwith ❤️