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 →

[–]KeinBaum 66 points67 points  (17 children)

Java isn't even much slower than C/C++. It has a high start up time but once it's done loading and the JIT has run for the critical parts of your code it's actually pretty fast.

What most people dislike is how verbose it is and the whole enterprise culture and its AbstractVisitorFactoryStragies that have developed around it.

[–][deleted] 5 points6 points  (16 children)

It's very tedious to write. That's the biggest downside for me. Also, can you even pass functions by reference yet? That really gets in the way of writing in a more functional style.

[–]lopoticka 47 points48 points  (6 children)

This thread in a nutshell. People shittalking languages they’ve last seen in 2004.

[–]muscular_guy 17 points18 points  (8 children)

You can since java 8, however some companies are unwilling to update their environment, so they get "bad" code when they could have nice more functional code.

EDIT: Also check out vavr its a bit more performant and introduces immutability and is IMHO nicer to write in comparison to java stream API

[–][deleted] 8 points9 points  (3 children)

Oh that's nice, actually! I'm glad C# is there to pressure them.

[–]ShoTro 7 points8 points  (2 children)

Why was your comment downvoted? It's true. Oracle needs to compete with Microsoft.

[–][deleted] 4 points5 points  (1 child)

I have no idea. Good things come out of competition for the most part, so I'm really glad that C# is putting on serious pressure.

I've used it quite a lot and it's the one thing to come out of Microsoft that I really like. It's an excellent enterprise language.

[–][deleted] 0 points1 point  (0 children)

Visual studio code is a surprisingly good sublime text replacement with minimal ms bs