David K ๐น (@DavidKPiano) on X (original) (raw)
Making state machines at
ยท I play piano
- Pinned

We're making it even easier to create state diagrams. โก๏ธ state . new 
Facebook is extremely over-engineered for a birthday reminder app
Replying to @jacobmparis
That's easy URL stands for Uniform Resource Locator URI stands for Uniform Resource Iocator
Interviewer: Invert this binary tree Junior dev: Here's the algorithm I memorized Experienced dev: Let me find a library for that Senior dev: Does inverting the tree align with our core business objectives?
Developers: lets/ โ store โ files โ in โ some/ โ super โ organized โ opinionated/ โ hierarchical โ structure Also developers: import { something } from "../../../../../../../"
Junior dev: "why isn't this working?" Senior dev: "oh, you just need to do X, Y, and Z" Junior dev: (wow they're so smart) Senior dev: (wow I made that mistake so many times)
Why hire a 150k/yeardevwhenyoucanjustpay150k/year dev when you can just pay 150k/yeardevwhenyoucanjustpay200/month for an AI coding agent and $200k/year for a dev to fix its code?
I have no idea what to name my baby At this point I'll just name him "utils"
GitHub Copilot is really amazing. I used to spend hours writing error-prone & sometimes incorrect code manually, but now, that error-prone incorrect code is automatically generated in seconds.
Developers: "I guess accessibility is important to some people, we'll get around to it" Developers at conferences: ๐ฃ๏ธ "CAN YOU INCREASE THE FONT SIZE I CAN'T READ THE CODE"
โ๏ธ React tip: when conditionally rendering component based on some string enum (like a role), use an object to map enum values to components. This can be cleaner than using conditional operators, and it keeps the logic organized & clear.
The levels of testing code
Junior developers: "I have no idea how to solve this one problem; I'll never get good if I just keep Googling for the answer" Senior developers: (46 tabs open to Google and StackOverflow for one problem)
If you're using Tailwind, don't sleep on child selectors. They clean up your styles and eliminate repetition. Vibe coding agents aren't smart enough to do this. (if you're using CSS, keep scrolling)