News for hackers. Stuff that matters.
Re:I love building a startup in Rust. I wouldn't pick it again by CuriouslyC on Friday February 17, 2023 @03:01PM (#34839697)
While it doesn't have the batteries, typescript's gradual typing is much nicer than python's, so for some use cases it's a better language.

All languages come with tradeoffs in terms of performance, development/maintenance cost and ease of hiring. Most businesses only care superficially about performance, which leaves developer productivity and ease of hiring. Node/typescript isn't terrible in terms of developer productivity, and it's got the best hiring story of any language. Python is good in both those ways too, but since you already need a javascript hiring pipeline for the client it's easier just to use node and hire full stack devs.

Re:I love building a startup in Rust. I wouldn't pick it again by worik on Friday February 17, 2023 @04:27PM (#34840797)
> typescript's gradual typing is much nicer than python's,

It is not Node V. Python, but Node V Java

Python is a terrible choice as a backend, too.

It has a place as a scripting language, but so often it is used to build complete systems. They suck.

Re:I love building a startup in Rust. I wouldn't pick it again by xyzzy4747 on Friday February 17, 2023 @07:07PM (#34842363)
Python is suitable if you don't care about performance, type safety, or async programming. That is to say, it's usually not a good choice.