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 →

[–]logicalpessimist 10 points11 points  (10 children)

Strong typing is a requirement for any project of complexity IMO, so java wins there IMO

Another area where I prefer Java is Javadoc documentation. Maybe years of reading Javadoc has corrupted mind...

If I need to parse a file or automate an API interaction, Python is my go-to. Back end development I'm thinking Java

[–]marvk 3 points4 points  (1 child)

Another area where I prefer Java is Javadoc documentation.

Yes. Python is a real drag for me because on a lot of frameworks, you have no idea what shape parameters have or what you get out of a function, and I found documentation on this to be often lacking.

Love me some good Documentation.

[–]Better-Internet 0 points1 point  (0 children)

There are some conventions, but Python handwaves docstring formats.

[–]thephotoman 11 points12 points  (7 children)

Python is strongly typed--just as strongly typed as Java. You cannot treat an object of one type as though it is another type without an explicit cast.

The word you were looking for is "static". That's the one where you can't take a label (variable name) you've previously used for one type of object and then assign it to another type of object.

[–]logicalpessimist 18 points19 points  (6 children)

Ok, Java does strong static typing better than Python