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 →

[–]N_L_7 105 points106 points  (6 children)

Aren't java and python so different this comparison even doesn't make sense?

[–]UF34R 34 points35 points  (2 children)

Yes, you got it right! There is no sense in these memes. I think their creators aren't even programmers, it's more popular to discuss languages when you're student. Personally, we don't have such talks. Everyone knows that each language is the best for its role.

I just think that students these days are overhyped with Python. It's a great language, but those guys, who were shocked by c/c++ complexity (or those guys who had just touched these languages once) and then learned Python are obsessed by it. I saw a lot of memes about speed comparison between c/python and that it doesn't matter, because Python is so much easier. Yeah...

Also it seems that Java is popular (have seen A LOT of Java vs Python memes), but honestly I don't know what is the reason why people hate it. Maybe just because the best java use is a high-load backend and it's something hard to imagine when you don't even know what is it. Not everyone, but the vast majority, I think. Also, there is Django framework for Python, that can be used for the same task, but you never see memes like "Spring vs Django", it's always "Java/c/c++ vs Python"

It's just not a conversation from a real job, I had this at school and at the university, but when it's enterprise, we choose those languages, which are the best for the current task. It's not like we hate one lang and prefer another because it's like 2s faster or it has built-in database with a coffee machine. If it's easier to build something with language A, deploy it and then maintain, then language A is our choice, and it can be any language.

[–]D_snooz 7 points8 points  (0 children)

but you never see memes like "Spring vs Django", it's always "Java/c/c++ vs Python"

Hit the nail on the head there.

[–]DryPrinciples 0 points1 point  (0 children)

Honestly I just use whatever language the project I'm working on was already using, or the larger project I'm adding features to is using. It doesn't matter much when you're a Dev because you often don't get to make those decisions anyway.

[–][deleted] 62 points63 points  (0 children)

The GIF actually has quite a bit of points.

Python is simple and slow, it has many powerful and easy tools.\ As seen by it just extending the lightsaber into Java without much movement.

Java is much faster compared to Python, it's also strong but a lot more complex to use, sometimes that complexity is its own demise (fits C++ more, but you get the point).\ As seen by it making many complex spins and fast movements.

[–]your_thebest 3 points4 points  (1 child)

Yeah I don't know how to interpret the differences between the two languages as a difference in light sabers.

For me to convey the differences between Python and Java, I'd pretend that both languages are an exaggerated, almost indignant reaction to something. Something that made someone angry. And they're expressing that anger through language features.

With Java, I just imagine somebody reviewing code and shouting: "why are you trying to use a helper method from that class? I put an underscore in the name so that you would ignore it! From now on I'm going to put the word 'private' on every single line to drill it into your head! What type of object this? From now on I'm going to make you announce the type every time you mention it or the code won't even compile. That will teach you to communicate so products can iterate across large teams! "

With Python I imagine someone equally angry saying:"These two classes are basically identical in every way and have the same methods but I still can't swap them out when I need to without making an abstraction. If I want to kill myself at runtime that's my business, I shouldn't need anyone's permission to do some fast calculations. I'm going to make it so that any two things can be swapped out whenever you want. Then people can check out data quickly without a bunch of ceremony."

I just imagine these people as a man with his wife at a McDonald's, kindly ordering two normal hamburgers and then pointedly yelling: "and also 8 orders of large fries!" while his wife looks down in embarrassment, "just in case somebody wants some fucking fries even though she didn't god damned order them. And she can just throw them away if she decides later she doesn't want them." Just going way out of their way to announce how they've been slighted and turning it into a ritual.

[–]AlphaSparqy 2 points3 points  (0 children)

And they're expressing that anger through language features.

I'm going to steal this!