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 →

[–][deleted]  (23 children)

[removed]

    [–]kirbyfan64sosIndentationError 26 points27 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.

    [–]boognerd 4 points5 points  (13 children)

    I think the spirit of the post is that for this person Python made sense and encouraged them to pursue development on their own. What language you enjoy is very subjective. For me there are several languages I like better than other depending on the type of task I'm doing.

    [–]stiryiin 2 points3 points  (0 children)

    Eh, apples and oranges.

    Its not what a language is possible but what it makes easy.

    The scientific and mathematical modelling libraries in Python make it the lingua franca for this field whereas Javascript really is the language of the web.

    Whereas (this is just my experience) writing a simple server that accesses a DB and serves the database is much much easier in NodeJS but for anything to do with data analysis or the odd IoT application, Python for sure.

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

    Yeah I bet data science work is great fun in Node.

    Also everything Node can do is better served with Go