One of the best ways to prevent bugs in your app is to avoid or constrain non-determinism. That includes:
- Race conditions
- Impure functions
- Mutable state
- User input
- Untyped API responses
- Your favorite framework deciding to rerender whenever it wants
Me: * clicks go to definition on a React component *
VS Code: "Would you like to go to the definition of this component?"
Me: "Yes obv—
VS Code: "—OR would you like some weird definition of some random bullshit in the React TypeScript package in node_modules. Please choose"
🌶️ Sorry, I need to go spicier:
An enormous amount of capital, talent, and effort are being spent on making web apps just a little faster.
Performance is important, but we're pretty far into the diminishing returns curve at this point.
@atalocke A lot of people are digging deep and comparing low level language primitives, but Go is the easy choice as soon as an http server or database is involved.
In 2020 Figma started hitting growing pains with their single managed Postgres database.
That means they managed to grow to a $2B company on a single mged instance.
I bet at they hired engineers around this time who grumbled about not picking a more ‘scalable’ tech.
Vitest is hands down the best testing lib I've ever used. Easiest setup, API covers everything I need, VS Code extension just works and it is really fast. ⚡
https://t.co/3LmyZ4YmA2