4 ms·
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'
by amitport 5y ago
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)