|
|
|
|
|
by chpatrick
165 days ago
|
|
Its type system is miles better than Python and it has some basic stuff Python doesn't have like block scope. Functional programming is also intentionally kind of a pain in Python with the limited lambdas. If TypeScript had the awesome python stdlib and the Numpy/ML ecosystem I would use it over Python in a heartbeat. |
|
For IO bound tasks, it also helps that JavaScript has a much simpler threading model. And it ships an event based IO system out of the box.