Code quality, knowing what's good, and competition ๐ก
Monday Ideas โ Edition #102
โน๏ธ Bright Data โ unleash AI web scraping
Most of the internet data is trapped inside web pages โ not provided through APIs.
This is where web scraping comes into play, but doing it from a single computer can be unreliable due to IP restrictions, CAPTCHAs and rate limits.
Enter Bright Data, which I am happy to promote this week! Bright Data offers:
๐ฅ๏ธ Robust infrastructure โ that includes proxy networks and web scrapers.
๐พ Pre-existing datasets โ that might eliminate the need for scraping altogether.
๐ Various modes of integration โ including low-code solutions and Python programming options.
You can learn more below ๐
1) โ
What does code quality mean?
We talk aboutย codeย quality rather thanย productย quality because the former might very well be invisible to the final user.
In fact, we often sayย under the hoodย โ which is aย carย metaphor.
In our context, the car is the full product. Like digital products, a car has a UI/UX, which is how the driver (user) interacts with it, and how the car makes them feel.
Then, if we continue with the metaphor, the software might be theย carย engine.
What makes an engine high quality?
Some things are universally important โ like reliability and little need for maintenance. Others, instead, largely depend on the car โ sports cars might be concerned about performance, while city cars care more about consumption.
This translates well to software.
It is virtually impossible to be good on every measure of quality, so, for many things, it is a matter of what is valuable to you.
There is an area, however, where the car metaphor breaks:ย software evolves.
Evolution gives maintainability a whole other dimension: itโs not just aboutย repairing defects, it is about being able to change the code to support what the future brings.
With that respect, high quality code has to be that that isย easy to change.
I quote my friend Joel on this:
Code that is easy to keep changing is code that is enjoyable to work on. It helps us feel smarter and enables us to do more valuable work for the organisations we work for. Everyone wins and thatโs why itโs such a valuable lens to look at code quality through.
I wrote a full article about code quality โ you can find it below ๐
2) ๐ฅ Knowing what makes good things good
When I reflect on my personal growth, I have found it useful to see my abilities through the lens of taste and skill.
Great taste is knowing whatโs good, and great skill is knowing how to build things. These two elements work together for growth: whenever my output is subpar with respect to my taste, then I know I need to improve my skills.
There is a third element, however, that I have consistently found in the most experienced people I know.
They do not only know what is good โ they also know exactly why.
They know what makes good things good.
Which is less trivial than it seems.
I may watch hundreds of TV shows and develop a good, intuitive taste for good ones, but I may not be able to explain how my judgment works. And that may be fine, unless I ever want to create a TV show. At that point, closing that gap becomes crucial, because knowing what makes good things good is what ultimately allows my taste to turn into skills.
In my experience, I have found two ways that help you with that:
Just build stuff โ being dissatisfied with your output constantly triggers your reasoning and makes you ask โwhy do I think this is crap?โ.
Discuss with others โ when you discuss some subject, you need to elaborate on your judgment. If you disagree with somebody about something being good, chances are you want to figure out why.
I wrote a full essay about this, which ended up becoming one of the most popular articles of last year ๐
3) โ๏ธย Donโt focus on competition
Last year I read Good Strategy / Bad Strategy by Richard Rumelt, and it made me think about the concept of competition in digital products.
The book provides many examples where people create strategies in direct response to their opponentsโ weaknesses.
This makes sense inย zero-sum games, where success always happens at the expense of someone else. Think of wars, or winning an election.
With digital products, though, this is not always the case.
Oftentimes, you are not winning customers over some competition โ at least not a direct one. Think of these cases:
๐ Growing marketsย โ when a market is growing, there are simply more customers coming in, so both you and your competitors might grow at the same time. E.g. newsletter writers recommend each other on Substack, banking on the fact that people will just readย more, instead of replacing their newsletter with someone elseโs.
โ Little awarenessย โ I often start using a product because it solves a problem of mine, totally unaware of the other products that exist in that space. If the tool does the job, thatโs fine! In these cases, for the product I choose, focusing on what its competitors do wouldnโt help to acquire me as a customer.
I have found that focusing too much on competition also leads to lazy product thinking. You benchmark what exists out there and create your own variation of that, sometimes missing out on truly unique opportunities you can go after.
So, I believe most of the time it is safer toย double downย on your own customers to make them happy, rather than acting based on what others do.
You can find the full book summary + review below ๐
And thatโs it for today! If you are finding this newsletter valuable, consider doing any of these:
1) ๐ Subscribe to the paid versionย โ if you arenโt already, consider becoming a paid subscriber. 1500+ engineers and managers have joined already! Learn more about theย benefits of the paid plan here.
2)ย ๐ปย Read with your friendsย โ Refactoring lives thanks to word of mouth. Share the article with your with someone who would like it, and get a free membership through the new referral program.
I wish you aย great week! โ๏ธ
Luca