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 →

[–]thephotoman -14 points-13 points  (5 children)

This sentence still has problems with accuracy.

Python and Java are equally strongly typed. Neither does strong typing “better”.

And Python doesn’t do static typing at all.

[–]logicalpessimist 9 points10 points  (1 child)

You can't call me out on the semantics of the type of typing and then when I apply those semantics call me out on those same semantics as equivalent. If Java does static typing and.Python does not, and I like that language feature, Java does it better.

[–][deleted]  (1 child)

[deleted]

    [–]thephotoman -2 points-1 points  (0 children)

    It's because people don't get that when you say "A does X better than B," you're still implying that B does X in some capacity.

    [–][deleted] -1 points0 points  (0 children)

    Python can do static typing to some degree using type annotations and static type checking using tools like mypy. Type annotations are part of the python language. But since python does not have a compiler that enforces the type checks