3 comments

[ 3.7 ms ] story [ 15.3 ms ] thread
Typescript continues to be incredibly impressive. The release cadence is solid, breaking changes are minimal, and the power of the type system is massively impressive.

I couldn't imagine writing JS without TS today. The TS team does a great job of seamlessly integrating with the JS world.

As someone who moves between languages, I wish typescript’s type system would have a chat with python’s cause Python has made some weird choices and created a lot of unnecessary arguments about the purpose of typing
Agree, but I want to add that in the other direction I wish JS took some hints from Python: Mainly: (1) Richer standard api (there isn't even built-in 'range' in JS); (2) flexible indexing (negative indexes, tuple indexes, JS does not even have to go all numpy).

Fix these 2 points and JS+TS is a clear winner over Python as a programming language (not ecosystem... There are still way better libraries and integrations Python)

(Oh and also fixing JS 'with' would be nice)