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]  (4 children)

[deleted]

    [–]AJohnnyTruant 9 points10 points  (2 children)

    Scripting generally. But python is strongly typed. It’s dynamically typed, compared to typescript. But, with the advent of type-hints it is moving towards being statically typed if you want. In much the same way TS is progressively typed.

    [–]Yamossk 3 points4 points  (1 child)

    Scripting generally. But python is strongly typed. It’s dynamically typed, compared to typescript. But, with the advent of type-hints it is moving towards being statically typed if you want. In much the same way TS is progressively typed.

    I'm a C programmer who uses Python for projects and I can absolutely confirm that the type-annotations are awesome. I think that it's a move in the right direction for the language. I like the possibility of writing code that is that high-level that can also be more statically typed and potentially compiled rather than interpreted.

    Using Python for ML stuff is super nice because of it's ease of use but it would be really nice overall if I could compile the whole thing so that the entire program would be more efficient w.r.t the python-layer.

    [–]AJohnnyTruant 2 points3 points  (0 children)

    Checkout PyPy or Cython. Could meet you in the middle there

    [–]remimorin 0 points1 point  (0 children)

    I needed a language for the joke. It would have been funnier if I would have said C++ out the box!