A guide to the rest of your web development career
Hack Reactor, 2021-10-28
You can read these slides directly at
Stuff Everybody Knows
Who is this jerk?
- Web developer since 1996
- Founded some companies
- awe.sm, acquired 2014
- npm, Inc., acquired 2020
- Currently at Netlify
What are we talking about?
I may also include sarcastic remarks down here.
- Automate everything
- Soft skills
Q: Who died and made you god of web development?
A: Twitter, America's most trusted source for real facts.
More on Wikipedia: en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
oh god this meme is 10 years old I need a new one
Dunning Kruger Study
Dunning & Kruger won the Ig Nobel prize for psychology in 2000, but this is really useful stuff.
"You're probably awesome" is my motivational poster.
Time saved by automation
Four-finger typing is not enough.
The command line
Real fact: this girl is 40 now.
96% of web developers use IDEs. You don't have to use Vim.
Learn one and stick to it.
git or GTFO
What is your job?
50% understanding the problem
50% building the solution
"How soon do you need it?" is always part of the problem.
All hail Sir Tim, the least problematic founder ever.
is not taken
And you can take advantage of that.
- You don't always need an app
- Consider progressive enhancement
You don't always need an app
Rich apps are fun to build, and that's the problem.
Netlify invented this word so I have to use it
aka Just Give Them Some HTML ASAP
is what a web app feels like, not what it looks like
URLs are part of UX
Most UX problems can be solved by modeling humans as monkeys of average intelligence.
Support deep links
is the same as
Beware the hashbang!
Deep links will save you money, ask me how in Q&A
Solve the user's problems, not yours
Nobody uses carousels:
"Apple does it" is not a good enough reason.
- Links go places, buttons do things
- Nobody scrolls horizontally
Preserve spatial memory
Never make the monkeys angry
Performance is invisible UX.
Internet on PC + phone + tablet
= 42% of all time spent with media
Phone + tablet
= 88% of all time spent on Internet!
is not optional
3.4% of web users have limited vision:
Guide to accessibility:
There is no one true database.
Consistency = always the same answer
Availability = always an answer
Partition tolerance = can it run on lots of machines
CAP is useful, no cap
do kids still say that?
Structure vs. Speed
aka Relational vs. Object stores
Best database ever.
It's a database, but in your browser!
npm install pouchdb
Memory shared between machines
I have to stop making fun of Mongo.
...or do I?
(by which we mean MariaDB)
Get somebody else to run it for you.
Mo' money, less problems.
Great for search. Not a database.
The file system
Slow as hell, scalable as hell
S3: get Jeff Bezos to do it for you.
A scaling strategy, not a backup strategy.
Are not real unless you test them.
You WILL accidentally delete your database at some point.
Because people are terrible sometimes.
...nearly all the time, really.
3 principles of software security
- You can't add it later
- Never trust the user
- Defense in depth
An evil user and a destructively stupid user are indistinguishable.
Regular expressions are really hard and really worthwhile.
...and usually you don't have to write them.
Speed is the only thing that matters
is about cost, not performance
People are more expensive than hardware.
is another type of speed
This is where I make fun of Australia.
Moving closer in space
CDNs are magic, and now they are free!
Moving closer in time
Cram every damn thing into memory
Or just do less stuff. Also good.
TDD is a bad idea. Ask me about it in Q&A.
is a thing you do for your future self
Automate, automate, automate
Make the intern do it
Write evil tests
"What happens if I put emoji in here?"
Changing stuff at random is not debugging.
"This could never have worked" is a thing you will end up saying a lot.
The dumbest way to debug is also the best.
Deleting huge chunks of code is why you need git.
Bad code everyone uses
is better than beautiful code nobody uses.
Frameworks are about people, not technology
A pretty good framework is better than an amazing snowflake
Modularity is a scaling tactic
Modules allow software to scale past the limit of our monkey brains.
13 functions, 78 interactions
13 functions, 16 interactions
is a bullshit term.
These are the hardest skills.
Don't be an asshole
"people will forget what you said,
people will forget what you did,
but people will never forget
how you made them feel."
Never work alone
"Hey, you folks need any Cold Fusion devs?"
Share what you know
Pay it forward.
How to find and get a job (by @jewelia)
How to interview other people:
Fight Impostor Syndrome
- lgbtq.technology - LGBTQ in Tech Slack
- witchat.github.io - Women in Tech Slack
- hiretechladies.com - Jobs for women in Tech
- womenwhocode.com - Career services for women in Tech
- peopleofcolorintech.com - People of Color in Tech
- devcolor.org - Community for black software engineers
- techqueria.org - Latin@s in Tech
- deafpros.com - Community for Deaf professionals
- projectalloy.org - will pay for you to go to a conference!
- bit.ly/disabled-in-tech - Disabled in Tech Slack
by ganging up
Stuff I totally skipped
- HTML & CSS
- Even more databases
- Security exploits
- Source Control
- Service-oriented architecture
- Time zones
- Distributed systems
- Visual testing
- So. Much. Stuff.
- Go explore!
An even long(er) version:
It's finally over
Now would be good time to follow me on Twitter!
It seemed like he would never shut up
These slides are at:
Stuff Everybody Knows @ Hack Reactor