Front-End Focus - Finding balance
When I first started coding, I wanted everything to be perfect. Every function should be small and do only one thing. Each component should be slick and reusable. Every line of code should be performant and use the most efficient algorithms. All of these are great ambitions to have. We should generally strive to create high quality work and write awesome code. But as I got my first and second front-end job, I also realized something else. Users - real people visiting your website(s) - really don’t care about these things. They’re entirely focused on getting a particular job done as quickly as possible. Whether that’s to find information, to communicate with a friend or to solve a pain point. Now of course there’s an inherent correlation. If all your code is terrible, it will be harder to add new features and your app might be slow. And that’s definitely something users will care about! But the reality is also that for a vast majority of websites, obsessing over performance is not the best use of your time. JavaScript is fast enough to handle 99% of things people might do on a website. If you have an array of 9 items, it really doesn’t matter if you use a for loop or an array method to iterate them. And it especially doesn’t matter how flexible your components are if your app has 0 users. That’s why I believe that finding balance between these things are what separate great engineers from mediocre ones. It’s not about who writes the best code - it’s about who can find the right balance: → Balance between when to just get a feature working and when to obsess over the tiniest details → Balance between when to implement a reusable, flexible component and when to just copy/paste → Balance between when to build something yourself from scratch and when to install a library to do it for you Everything you do should be in service of the people who will actually use your website or app. So if you’re working at Meta or Google, of course you should optimize for performance because you’re literally serving billions of users. But if you’re working at a start-up or on your personal side project, you’ll be much better off prioritizing new features and using 3rd party libraries to actually ship something people can use. Avoid getting stuck in the endless loop of perfection, where you’ll only write code that’s highly efficient and perfectly structured. Aim for it when you can, sure. But don’t let it prevent you from actually building stuff. Find the balance. That's all for now - thanks for reading! See you in 2 weeks 👋 If you enjoyed today’s newsletter, why not share it with your friends! Either by forwarding this email, or by posting about it on LinkedIn, X or Facebook. You can also simply copy/paste the link mads.fyi/fef on other platforms. It really helps to keep me motivated and let the newsletter grow 🙌 — Mads Brodt |
Older messages
Landing a front-end job is hard
Wednesday, August 21, 2024
Hey there, fellow front-end dev 👋 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🔥 What is a full-stack framework?
Monday, June 3, 2024
There's been a lot of discussion in the web space lately on what a full-stack framework actually is. On one side there's the "traditional" full-stack frameworks like Laravel (PHP),
🔥 The Modern Front End Developer
Wednesday, May 1, 2024
Front-end development has evolved a lot over the years. In the earlier days of the web you only really had to understand HTML and CSS to be a hireable front-end developer. Then we started adding more
🔥 How to: Land a front-end job
Wednesday, March 27, 2024
Landing a front-end job is hard. We've had an open position at my company for about 3 weeks now, and it's gotten almost 100 applicants. That's a lot of competition, no matter how good of a
🔥 TailwindCSS v4
Wednesday, March 13, 2024
If you've been following the newsletter for awhile, you know that I'm a big fan of TailwindCSS. And I'm not alone. In the 2023 State of CSS survey, Tailwind scored in the very top on both
You Might Also Like
eBook & Paperback • Demystifying Hospice: The Secrets to Navigating End-of-Life Care by Barbara Petersen
Monday, March 3, 2025
Author Spots • Kindle • Paperback Welcome to ContentMo's Book of the Day "Barbara
How Homer Simpson's Comical Gluttony Saved Lives
Monday, March 3, 2025
But not Ozzie Smith's. He's still lost, right?
🧙♂️ Why I Ditched Facebook and Thinkific for Circle (Business Deep Dive)
Monday, March 3, 2025
Plus Chad's $50k WIN ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
I'd like to buy Stripe shares
Monday, March 3, 2025
Hi all, I'm interested in buying Stripe shares. If you know anyone who's interested in selling I'd love an intro. I'm open to buying direct shares or via an SPV (0/0 structure, no
What GenAI is doing to the Content Quality Bell Curve
Monday, March 3, 2025
Generative AI makes it easy to create mediocre content at scale. That means, most of the web will become mediocre content, and you need to work harder to stand out. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
mRNA breakthrough for cancer treatment, AI of the week, Commitment
Monday, March 3, 2025
A revolutionary mRNA breakthrough could redefine medicine by making treatments more effective, durable, and precise; AI sees major leaps with emotional speech, video generation, and smarter models; and
• Affordable #KU Kindle Unlimited eBook Promos for Writers •
Monday, March 3, 2025
Affordable KU Book Promos "I'm amazed in this day and age there are still people around who treat you so kindly and go the extra mile when you need assistance. If you have any qualms about
The stuff that matters
Sunday, March 2, 2025
Plus, how to build a content library, get clients from social media, and go viral on Substack. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Food for Agile Thought #482: No Place to Hide from AI, Cagan’s Vision For Product Teams, Distrust Breeds Distrust
Sunday, March 2, 2025
Also: Product Off-Roadmap; AI for PMs; Why Rewrites Fail; GPT 4.5 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Pinterest For Authors 📌 30 Days of Book Pins 📌 1 Each Day
Sunday, March 2, 2025
"ContentMo is at the top of my promotions list ... "I'm amazed in this day and age there are still people around who treat you so kindly and go the extra mile when you need assistance. If