So what’s the gist, my fellow generalists
Recently, I watched an interview with Marques Brownlee, a highly successful tech YouTuber, and Y Combinator. Brownlee attributed his success to two key factors: consistency and being in the right field (tech) for a significant amount of time (10 years). Interestingly, this year marks my own 10-year anniversary of working in tech as a software engineer, so it’s prompted me to reflect on my journey so far and think about what the next year and decade might hold. I have decided to share some thoughts here, partially to bootstrap this new blog and partially to contribute to the public discourse about being a generalist in tech. In a world full of “I have read 100 books about software engineering so you don’t have to. Here is a thread👇”, I would like to become a little more like u/flipstables. When tokens are cheap to produce, authenticity counts. Now to begin, where is that bottle of wine…
On coding
- Coding is fun as a hobby. As a job, it really depends.
- Coding with fast feedback loop has the same effect on the brain as scrolling social media: it can be addictive. I tend to feel acute withdrawal symptoms when I go for a long stretch of time without writing any code.
- Coding more doesn’t necessarily translate to generating more values or being better at coding. It literally just means producing more code. Similar to how scrolling Twitter more doesn’t make you any smarter, or even more informed. It just makes you better at scrolling Twitter. To improve, deliberate practice matters.
- The ability to recognise and appreciate beautiful code is a superpower. When I was majoring in Maths, I noticed one of the traits that separated the top students from the rest was simply an ability to recognise and appreciate beautiful solutions to problems. That’s what motivated them to dig further and deeper — to find more beauty. I have noticed a similar trait in all great coders I have worked with so far.
- On the other hand, beauty is in the eye of the beholders. It’s especially true in coding. Give me a snippet of code that you think is beautiful and I bet I can find a brilliant coder who thinks it’s ugly. So try not to tie your self-worth to the beauty of your code, especially if the code needs to run in anger.
- I personally love debugging more than writing new code. Every good bug tells a great story.
- Coding is both a practical tool and a creative outlet, since it reflects how a developer perceives and models the world. However, this can make code review a delicate process, as it can feel like a personal critique, especially in teams with low trust. When developers have a strong emotional investment in their work, they may view coding style and decisions as an expression of their individuality, making feedback more challenging to navigate.
- 10x coders are real. Similar to any other human endeavours, some people are just an order of magnitude better than others at it. 100x coders are also real — they are the 10x who can bring the team along with them. Seeing these people in action is a true privilege.
- Having said that, you don’t need to compare yourself to those 10x people. You just need to be better than the problem you are trying to solve.
On software engineering
- Coding is an important part of software engineering, but more often than not, it’s neither the only part nor the hardest part of the job. Figuring out what to code, if any, is usually more challenging.
- Being able to read code and digest it quickly is an immensely high-leverage superpower. You can create more values at work by being awesome at code reviews and you can accelerate your own learning through reading open source. This is probably the skill I’m jealous of the most in some certain people I have worked with.
- Design patterns come and go, but “solid” software engineering principles stick around, pun intended. Due to my peanut brain, I tend to rely heavily on a handful of principles and high-level patterns. The rest can be re-invented on demand from first principles (hopefully).
- One pattern that has single-handedly saved my career is the monadic pattern of splitting the composition timeline and the execution timeline. It shows up literally everywhere, in composing data pipeline as DAG before running, in virtual DOM diffing before rendering, in optimising SQL before executing, in constructing neural net computational graph, etc. Whenever I need to inject anything in between business logic and the runtime environment, usually some optimisation or reliability harness, I reach for this pattern.
- I find that a software team functions more like a writers’ room than a traditional engineering team. A code base is similar to a fictional universe, with its own set of underlying rules and principles that guide how it operates. These design principles serve as the “laws of physics” for the code base, providing a consistent framework for developers to create new features and functionality. As the code base evolves, these principles adapt to ensure that the system remains coherent and efficient, much like how the rules of a fictional universe can evolve to support new storylines and characters. A code base’s tech lead serves as a lore keeper to make sure no one pull out a wand yelling Avada Kedavra in the middle of a sword fight.
- From this lens, conflicts in a software team often resemble the creative differences that can arise among writers on a TV show than a team of engineers disagreeing about the maths, although that can certainly happen. Wandering into a code base with different styles is very similar to watching BBC Sherlock: You can tell which episodes were written by Steven Moffat and Mark Gatiss and which aren’t, and towards the end it all collapsed into an incoherent mess.
On learning
- I think Larry Wall once said in an interview that a programming language that doesn’t change how you think about programming is not a language worth learning (or something to that effect. I can’t find the original reference). This has always been my guiding star when learning a new language.
- Learning a programming language is similar to learning a new human language. While the fastest way to advance from beginner to intermediate is to spend more time reading good code than writing it, the most enjoyable way might be parachuting yourself into a foreign territory and learn through trials and errors.
- I used to lean heavily on online courses and professional certificates to try to pick up new things, but the knowledge tends to fade away as quickly as they are acquired. The stickiest lessons I have learned are all learned in production.
- To put it differently, the most efficient way to learn is to learn on the job, but usually you are hired to do what you already know. The best opportunity is the opportunity that allows you to do both.
- As of now, I don’t have a good system to keep up with everything that I feel like I should be learning, and it is the greatest source of my professional anxiety. I don’t know yet how to cope. Any advice is very much appreciated.
- Whenever I meet my friend Ivan for lunch, the topic of building a distributed database from scratch for the fun of it would often come up. “It will teach you everything Lim” — he usually says. I will meet him again this Wednesday. I’m willing to bet £10 that he will mention it again. Maybe one day we will both find the time to start working on it.
On being a generalist
- “If you are a full-stack developer, adding one more technology to your stack will turn you into a StackOverflow developer” — I don’t remember where I heard this joke but it’s excellent. It also hints at the ambiguity of the term “full-stack”, as the stack is not defined. I prefer the term generalist.
- The advantage of being a generalist is optionality preservation, especially early on in one’s career. I have had the chance to work on most aspects of many web-based production systems, from frontend, backend, platform, to data, DevOps, ML and analytics. For that I’m extremely grateful.
- The disadvantage of being a generalist is that my Imposter Syndrome barometer is constantly off the chart. More importantly, I do feel missing out on technical development in certain areas whenever I context switch instead of going deeper. As an example, I remember being an early adopter of Kubernetes when it came out, but after years of not touching it — for some reasons I always found myself in ECS land, I felt very behind when my current team decided to go all-in on it.
- It takes serious effort and discipline to pick up a new domain. I recently came across Greg Brockman’s personal account of his journey to becoming a machine learning practitioner, and it struck a chord with me. I have worked at companies specialising in ML & AI for 4 years now. I have also lost count of the number of online courses and certificates and toy programs I have done in an attempt to “be more proficient at ML”. Yet I don’t feel that much better about my ML skills than I did 4 years ago.
- Speaking of skill, skill and knowledge are not the same thing, much like how playing a song on the guitar requires more than just knowing the chords. Skill is knowledge times deliberate practice times repetition. Speaking of knowledge, knowing the name of something isn’t the same as knowing the thing itself. A pet peeve of mine is people incorrectly name-dropping — or worse, abbreviation-dropping — technologies.
- The best way to pick up a new domain is to be mentored by a specialist; Brockman also mentioned something similar in his article. One of my fondest professional experiences was the 3 months I spent doing DevOps to help a guy called Isaac build out a greenfield AWS environment and migrate a bunch of applications from Heroku to it.
On 2024
Initially, I wanted to include 4 more sections to reflect on Startup, AI, Work-Life Balance and Dogs, but this post has gotten too long and too self-indulging, so I will stop here. Maybe I will follow up with part II at some point.
As I look to the year ahead, major changes are coming to my life, both personally and professionally. However, one thing that will not change: it’s still time to build. Let’s crack on.