5 ms·
Python is a perfectly fine choice for a tech stack. Just because you don't like something doesn't make it an anti-pattern. NodeJs + TypeScript have tons of wart
by awithrow 17d ago
Python is a perfectly fine choice for a tech stack. Just because you don't like something doesn't make it an anti-pattern. NodeJs + TypeScript have tons of warts of their own that you have to deal with as well. Every language does.
- jagged-chisel 17d agoThere are two types of programming languages: those people complain about, and those no one uses.
- threethirtytwo 17d agoThere’s a third type of language: Python. Actual poor choice for a startup, independent of complaints. You’ll note my complaint here is actually remarkably unique. You will rarely hear a person who is an expert in both TS and Python say definitively TS is better. Many people who know both stacks well always maintains some kind of apples and oranges opinion about it. It’s like agnosticism.
- threethirtytwo 17d agoNah but the warts are minor compared with other languages. Python is guaranteed to hold you back. First it’s the worst performing language for the application stack (only among the most languages for that area). Second type checking on Python is raw garbage. Third you’re going to have to use TS for the frontend anyway. You can’t escape ts. Choosing Python(or any other language) forces you to have redundant code in two languages. Ts is the overall best startup stack and a huge part of it is because the frontend requires ts anyway. Also sqlalchemy is pretty garbage.
- joshheitzman 17d ago> Third you’re going to have to use TS for the frontend anyway. You can’t escape ts. This is obviously wrong. Sure you have to use Javascript for the web frontend that has interactivity without round-tripping to the server. Typescript compiles to Javascript, but its hardly the only language that does. If you're frontend is a mobile app only then you don't even have to use Javascript for it all.
- threethirtytwo 16d agoI’m talking about mainstream choices. I’m well aware of alternatives. Would not recommend alternative choices for a startup. Those offer a larger element of risk. I would choose Python over any other non mainstream alternative.