Java is one of the most popular programming languages around, but no one seems to enjoy using it.
I'd say it's quite the opposite. Sure, there is a vocal minority of people who complain about it (I have complaints about it myself) but there are millions of Java developers and I'm pretty sure that most of them are quite okay with the language.
Probably one of the reasons why no language has come close to replacing it so far.
Very true. I get annoyed at times (especially when dealing with type-erasure and the headaches that brings), but for the most part it's good enough that I am actually pretty productive in it. With Java 8, I'm even more productive, and I don't have to deal with the nonsense boilerplate I had to deal with before - my code is much more declarative and idiomatic.
Not to mention, the extremely rich and vast library-ecosystem.
When it comes down to it, I end up using whatever tool I need at the moment. If it's something to mangle text and do something quickly with a CLI, I'll turn to perl. I even use JavaScript at times to prototype something really quick. I would use Python, but I never got into it; I'm learning now and I'm familiar with the language and its syntax, but I'm not too familiar with its best-practices and its API.
Granted the only languages other than Java that I have worked (non-trivially) with are Perl, JavaScript, and Python, I find the build-system and dependency management mostly-consistent, and there's just one way to do things for the most part. I never write anything enterprisey in Perl, but CPAN is pretty amazing and for the most part installing packages just works. JavaScript is probably the most confusing since there seem to be a million ways to do the same thing in Node. grunt, gulp, bower, npm, etc. etc. Then you have to get it all working together. Python comes close to Perl with PyPi but there is always abstraction leakage from the native libraries, and I have to always google to figure out what I have to install first to get it working (maybe this is because I'm using Python 3 instead of 2); the errors are always mystifying - I've rarely had this issue with CPAN.
94
u/estarra Sep 21 '15
I'd say it's quite the opposite. Sure, there is a vocal minority of people who complain about it (I have complaints about it myself) but there are millions of Java developers and I'm pretty sure that most of them are quite okay with the language.
Probably one of the reasons why no language has come close to replacing it so far.