When was the last time you were there at line 0 of a new app, my friend?

If you’re like most professional engineers, the answer is “Never”. And if I were to grab you by the arm, tie you to a chair, and yell “Build a webapp or I’m not letting you go!” … would you know how?

Wait is that Hugh Jackman? I didn’t know he was in Swordfish 😱

Asked to build something new, most engineers hem and haw, wring their arms, think real hard, and give up. The blank editor steals their juice.

You sit down. Great idea in mind. And then … shit, how do I start?

Artists call this The Blank Canvas Effect, writers have the blank page, engineers … the greenfield project?

Why most engineers can’t build from scratch

Think about it, why can’t most engineers build something from scratch? Is it because they’re bad engineers?

Of course not. They’re amazing engineers creating great value for their companies.

So why then …

Most of us just never get the chance. Think about it.

There’s a story on HackerNews from an engineer at Google. Brilliant guy with a sneaking suspicion that he’s gotten lazy.

I never challenge myself to deeply learn about what I’m doing, it’s almost like I’ve been using only 10% of my mental capacity for work
Even when I get a meaningful project, all I do is copy code from the internal codebase and patch things together until they work.

Sound familiar?

Yeah me too. That’s just how it works in a mature product.

You have this massive codebase and your job is to make small adjustments. A tweak here, a trim there, a loving refactor over yonder.

That’s it. Maintenance. That’s all they want.

Your job is to understand the codebase and know where to find existing solutions to new problems. Like a taxi driver that knows every street in London.

When you do build a new feature, the hard part is making it fit into the codebase. Oh and finding all the legos.

but the legos are already there you never build from scratch

playing_with_legos giphy

Don’t you want to invent new legos? Is this what you became an engineer for?

Most engineers don’t know how it all fits together

Dude, sometimes you and Sean talk about these things so casually and it’s like I know the words, but how it all relates together just doesn’t make any sense

A fresh engineer whispered that to me the other day. Ashamed almost.

Mate, there’s no shame. You’ve been an engineer for a year. Sean and I have been at it for decades. We’ve seen it all.

“Do you know this stuff just because back then you had to?”

Yes thanks I’m old and grew up in the internet dark ages. 🙄

fellow_kids giphy

But Luis is right. I did grow up in the dark ages.

So many basics I take for granted, people just don’t learn anymore. It’s a solved problem. Click a button and you’re done.

Like how to set up a server? Spin up a database? Send an HTTP request? Deal with AJAX? Hacks before websockets? How HTML works? Where does CSS come in? How to create a user? Where to store data? How to make sure your data is safe? Where do you CDN? Why would you CDN? What should you process on the frontend? What on the backend? What’s the point of compiling your code? When does it not make sense to build static? Why is code faster the 2nd time it runs? What’s a cache?

Layers upon layers of technology that evolved before my eyes as I learned the ropes.

You don’t have that luxury do you? Most don’t. The number of programmers about doubles every 5 years after all.

That’s a loooot of fresh blood that never learned the basics.

And why would they?

You come into a company. Everything’s already there. Somebody built the infrastructure, somebody created the legos, somebody solved the basics.

Your job is to be an expert in a tiny little niche and crush it. Maybe you’re the best UI engineer in the world, or a CSS grand master, killing it at React, or the best person that’s ever walked the planet when it comes to complex data processing pipelines.

But remember the Swordfish scenario.

If you want to build a side project to make an extra $1,000/month, you need to know how it all fits together. You’re on your own.

YOU get to build the legos 🎉

And that’s exciting! And a little scary.

You got dis my friend, I believe in you 💪

Think you could build something from scratch? hit reply

Cheers,
~Swizec

PS: one of my favorite things to say when teaching the Build & Launch a whole app workshop is this “Sorry, I’m going to copy paste this first part, I don’t do this very often and always forget how to start”

Learned something new? Want to improve your skills?

Join over 10,000 engineers just like you already improving their skills!

Here's how it works 👇

Leave your email and I'll send you an Interactive Modern JavaScript Cheatsheet 📖right away. After that you'll get thoughtfully written emails every week about React, JavaScript, and your career. Lessons learned over my 20 years in the industry working with companies ranging from tiny startups to Fortune5 behemoths.

PS: You should also follow me on twitter 👉 here.
It's where I go to shoot the shit about programming.