3 ms·
I code my front-ends in TypeScript and I like JS/TS but I’d rather code my backends in just about anything else than the wild west that is JS/TS in the server.
by aerhardt 3y ago
I code my front-ends in TypeScript and I like JS/TS but I’d rather code my backends in just about anything else than the wild west that is JS/TS in the server. It’s 2023 and there is no equivalent of Rails, Django or .Net in the JS world. Even setting up a thin Express server to run with TypeScript can take a lot of fiddling with tooling. Bun is trying to solve this but it’s just come out… I've never used FastAPI but I’m pretty sure I could make it work in an hour. I’d rather take the context switching to about any language in the server than having to deal with JS tooling there… Besides, “your scripts/ML models/high-performance code” runs in a non-TypeScript language, why not run that everywhere?
- jasfi 3y agoWhat about Next.js? There are others too. Prisma for the ORM, although again there are others to choose from.
- iterateoften 3y agoI use nextjs and it is not comparable to Django’s vast ecosystem for making large scale SaaS backends.