Hacker News new | ask | show | jobs
by exelib 5057 days ago
Java is good enough for all types of projects. People hate Java because... they can't Java right. Personally, I very like Python and JavaScript and features like multiple inheritance or prototyping, higher-order functions and so on. But Java is better sufficient for projects which more complex as "Hello world", because type safe (robust, compile-time feedback), excelent IDE support and incredibly fast and allow fast development (if you can Java, TDD and so on).
1 comments

There are plenty of reasons other than people being unable to "Java right", though I'm not saying that Java doesn't get plenty of hate out of ignorance.

A good example of when you can't use Java would be embedded projects or projects where you need to squeeze even more performance out of your code. Java is fast but it isn't the fastest.

Feel free to love your language of choice but I'd recommend not letting it get in the way of common sense.

Java bytecode is very compact and used also in embedded systems. Java can be predictable.

Can you show some benchmarks compare java w/ jit and other languages?

I love another language, but Java is better choice.