A little background

Back in 2013 I recorded a video capturing my take on why people hate Java. This is my most popular video on Youtube. Here’s the video if you’re interested.

Abbreviated Transcript From Video

The question is why do people hate Java. That’s a really good question. I’ve been working with Java for at least eight years. Probably longer but it’s been a very long time. For me it’s an enterprise language. I understand why people hate it. I’ve heard very good reasons why they don’t like Java.

I think the biggest problem that Java has, you start to see other languages being developed on the JVM, is that Java has a lot of boilerplate code. So what do I mean by boilerplate code? In order for you to do very simple things, you may have to write ten lines of code to do it.

Let’s say you wanted to reverse a string and you wanted to capitalize the first letter of every word. You don’t want to have to write ten lines to complete a tedious task. So that’s the kind of thing that I’ve seen. Java is very verbose in code. You have to write a lot of boilerplate.

Still Reading?

I really appreciate you getting this far in the post. Can you do me a favor? Can you tell me why you hate Java on Twitter? It’s super simple. Just click this link, tell me why, and click ‘tweet’.

If for some reason you arrived here because you have to learn Java. Here’s a great book for learning. I read the first edition a long time ago.

Effective Java