← Back to context

Comment by lenerdenator

5 days ago

It's been said that Python's greatest superpower is that it's the second-best language at the most stuff.

No one's really developed an ecosystem for a language that's more performant that can match it, and that's all it needs to assert dominance.

I've never understood this. Python cannot be optimized like C, C++ or Rust. It cannot do advanced functional things like OCaml, Haskell or Scala. It cannot run in browsers like TypeScript. It cannot do games programming like C# and it can't do crazy macro stuff like Clojure. I don't think it's even second best at those things.

  • I'm reading this as, "It cannot do things the best", and that's correct. It can't.

    But it can do them well enough, and enough people know it that they can drag a solution across the line in most domains.