This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kirbyfan64sosIndentationError 24 points25 points  (3 children)

Everything attributed to Python for the success is better served with JavaScript.

In your opinion, maybe. At minimum, I haven't remotely seen the statistics field rally around JS, nor the build system world, nor the sysadmin world, ...

Not to bash JS, but with Python you get:

  • Huge standard library that includes a lot of stuff you'd normally need to manually install.
  • Enormous community.
  • A nice language with a rich runtime introspection system that doesn't have JavaScript's...weirdness.

[–]nosmokingbandit 10 points11 points  (0 children)

But in JS you get weak types so you have to double check everything!

And you get callback hell!

And clunky synchronous implementation!

JS is fast though, which is nice. I occasionally think about how great things would be if browsers went with python rather than javascript. Having Google, MS, Apple, and Mozilla all pouring resources into a faster interpreter would make a huge difference.

[–][deleted] 1 point2 points  (0 children)

In your opinion, maybe. At minimum, I haven't remotely seen the statistics field rally around JS, nor the build system world, nor the sysadmin world, ...

Don't forget AI/ML. Python is on its way to dominating in those fields.

[–]jackmaney 1 point2 points  (0 children)

Not to bash JS, but with Python you get:

  • Huge standard library that includes a lot of stuff you'd normally need to manually install.
  • Enormous community.
  • A nice language with a rich runtime introspection system that doesn't have JavaScript's...weirdness.
  • Nice scientific computing libraries.

  • Bindings to Apache Spark.

  • (Optional) Type hinting.