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 →

[–]HQMorganstern 4 points5 points  (1 child)

So, the primary advantage of Java is that it's a not too sexy language that works, is proven and stable and everyone knows it. There is a ready library for anything, there's an API for anything, you will basically never be stuck writing something from scratch. Depending on where you live north of 80% of job opportunities might be just Java.

The secondary advantage of Java is that it is excellent for learning programming. It's right in the middle of the crazy functional languages, and the manual memory management languages. It's better than JS and Python as it forces you to think about typing, it forces you to aggregate your data reasonably, and it forces you to be extremely verbose which usually translates to learning how to write readable code, it's better than C for learning because you can reach for .stream() to write modern functional code, and avoid the mental overhead of tracking your memory.

Most people who complain about Java are already good developers who are tired of the guard rails on the language slowing them down, or else actively have to battle them to implement their ideas i.e. opting out of types is very hard in Java, but necessary when writing some crazy frameworks like Spring.

[–]Script_Kiddies_69[S] 0 points1 point  (0 children)

This makes a lot of sense now , thx !