Johan Brook

I’m coding & designing, and I like working with product, user experience, and interface design. And other things too.

I’d like to write more (don’t we all), and I consume a (un)healthy amount of music.

You can reach me via email or Mastodon. I live in Stockholm, Sweden.


My fav track is ♫ Dream Night by Jamie Xx.

Microblog

  1. View

    I've added my latest iteration of pasta bolognese, you guys. It's the result of many tweaks and iterations, and is the first one I've actually felt I want to save here on my site, for posterity. We just had it for dinner yesterday and today again, and it's so freaking good: how the meat has melted away into the sauce after 6-8 hours of slow cooking in the oven.

    Continued ⇢

  2. View

    Seen and done

    We came back to Sweden from Cape Town in mid March. The "change management" with the kids went well, but it's mentally quite hard to be back in a different climate and another way of life. I really loved our lifestyle in South Africa, and can't wait to go back somehow. It's just feels weird to be back in Sweden: everything is as it's always been, and apart from friends and family, I feel no real connection to being here.

    Continued ⇢

  3. View

    Code greppability is such an underrated code metric in how we judge and work with a code base.

    At work, we try to be very diligent in how we name

    • database columns,
    • file names,
    • functions,
    • one-off variables.

    We pick a noun for a new feature and stick with it throughout the "vertical" that forms from frontend to database. This makes it really easy to trace a feature's flow through the various layers. Same goes with the verbs that form actions on the feature noun: those should be consistent too.

    Continued ⇢

Reading

  1. The Three Body Problem ←
    Cixin Liu
  2. Intermezzo
    Sally Rooney
  3. Stacken
    Annika Norlin
  4. Beyond the Wall
    Katja Hoyer
  5. Careless People
    Sarah Wynn-Williams
  6. The Lie of 1652
    Patric Tariq Mellet

Writings

  1. Posting to Mastodon when deploying a static site
  2. Mastodon
  3. My favourite software
  4. Setting up Sublime Text for Deno
  5. A whole new world with Deno
  6. Customising an iOS home screen web app in 2021