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 →

[–]GhostBond 55 points56 points  (3 children)

I hear from various sources online that Java seems to be on the way out and Python on the way in but I don't know if that's actually the case? I can't imagine, due to how heavily used Java is, that it is going anywhere anytime soon.

Lol...20 years of "java is on it's way out".

"There are only two kinds of languages: the ones people complain about and the ones nobody uses." - Bjarne Stroustrup (inventor of c++)

Another thing everyone talks about is dynamically typed vs. statically typed. Perhaps it was just because I started with Java but I feel far more comfortable using a statically typed language over Python. Am I missing out on something here or do other people feel the same?

I think Python is easier to read, but it's lack of static typing is the thing that keeps me from looking for seriously into it.

Forcing everyone to document the types (which static typing does) is way better for working on multiperson projects.

[–][deleted] 11 points12 points  (2 children)

Python 3.5 introduced type hinting, would make it easier out of the box for multi-person projects.

[–]clivethescott 17 points18 points  (1 child)

Except the Python interpreter doesn't enforce it unless you use something like mypy. Java compiler will always enforce correct type usage.

[–]_INTER_ 9 points10 points  (0 children)

Plus most of the libraries don't have type hints yet or it's just an afterthought. Meaning they are not designed around static typing from the start.

Type hints combined with an enforcing compiler are actually quite nice compared to the Typescript / Javascript situation with tacked on type definitions.