I think it’s just because it is always recommended as an “easy” language that’s good for beginners.
The only other thing it has going for it is that it has a REPL (and even that was shit until very recently), which I think is why it became popular for research.
If that’s the case, then why didn’t Javascript take its place instead? It’s arguably even better at Python in both of those areas…
I think Python is superficially easier since you don’t have to declare variables, printing is a little easier, etc. And in some ways it is actually easier, e.g. arbitrary precision integers, no undefined, less implicit type coercion.
But I agree JavaScript is generally a better choice. And it is actually more popular than Python so…
If that’s the case, then why didn’t Javascript take its place instead? It’s arguably even better at Python in both of those areas…
But worse in everything else. And the runtime-platform is a mess.
I think Python is superficially easier since you don’t have to declare variables, printing is a little easier, etc. And in some ways it is actually easier, e.g. arbitrary precision integers, no
undefined
, less implicit type coercion.But I agree JavaScript is generally a better choice. And it is actually more popular than Python so…