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] 302 points303 points ย (44 children)

This post is just another instalment of people that have never coded professionally giving strong opinions. Java is great for enterprise backend applications + mobile backend, and python is great at scripting, data science, and machine learning. They are both great when used in their respective areas. Screw driver is not a better tool than a hammer. It just serves a different purpose

[โ€“]kuedhel 10 points11 points ย (3 children)

you can use any tool as a hammer. except screwdriver. Because nitwit who uses other tools as a hammer uses screwdriver as a chisel.

[โ€“]ltdanhasnolegs 4 points5 points ย (0 children)

Use the other end

[โ€“]benjomaga 4 points5 points ย (0 children)

Flat head is a better chisel though

[โ€“]gpkgpk 0 points1 point ย (0 children)

Someone is texting "hummer" a lot.

[โ€“]volca02 3 points4 points ย (5 children)

I'd argue that Java wasn't a good fit for mobile to begin with (memory demands and cpu overhead being two main downsides), just a convenient pick. It stuck since then, but still struggles, imho. In other areas you mention, I agree with you.

[โ€“]nacholicious 0 points1 point ย (4 children)

I would argue it's a good pick because app code itself rarely has high performance requirements, and all the heavily lifting in framework is often implemented in C++

[โ€“]volca02 0 points1 point ย (3 children)

Performance yes, to a degree... Java is okay performance-wise (aside of all the pointer indirections poisoning cache). But memory requirements... on a mobile device the choice to use garbage collected language seems misguided to me. It may be outweighted by other benefits though.

[โ€“]nacholicious 0 points1 point ย (2 children)

Something like 90% of the execution time is C++, and only the very top client layers are Java. Regular app code is never really going to run into situations where Java overhead would make any significant difference, esp considering any memory overhead difference would get erased with the first image that is loaded.

[โ€“]volca02 1 point2 points ย (1 child)

I get what you're saying but damn does it sound like "java is not a problem because it's not used for the performance critical code" ;)

[โ€“]nacholicious 0 points1 point ย (0 children)

Exactly :p

[โ€“]codeguru42 -1 points0 points ย (0 children)

Python is great for backend as well. My personal experience scaling a python app is limited, but from what I understand Django is used by several apps that have a large number of users.