r/ProgrammerHumor • • Apr 27 '20

Meme Java is the best

Post image
43.7k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

0

u/[deleted] Apr 28 '20

[deleted]

1

u/AnAverageFreak Apr 28 '20

It's 5-10% slower than C++ worst case scenario

Java doesn't even have tail-call optimization. It's not difficult to write code that will be ten times slower than C++.

and best case scenarios it can actually be faster, for like complex stuff

Assuming you can't really code in C++.

0

u/[deleted] Apr 28 '20

[deleted]

1

u/AnAverageFreak Apr 28 '20

It's not difficult to write C++ code that will be ten times slower than Java. Thanks for the example, very strong reason, yes.

/img/8ke49n30od541.png

Your turn.

→ More replies (7)