RE: Why people think Java is bad and old language? 01-07-2017, 09:47 PM
#31
(01-04-2017, 10:43 PM)Elf Wrote: I have no issues with it nor have heard anyone describe it like that :c
![Sad Sad](https://sinister.ly/images/smilies/set/sad.png)
(01-05-2017, 08:17 PM)insidious Wrote: One word: Enterprise
if you have a language that made waves like Java did in enterprise, you can be damned sure it's going to stay there for a looong time no matter how shit the language is.
It's for the same reason that some dumbass companies still run Flash. Once it becomes a part of their system higherups find no need to replace it with something faster
Personally I don't like the language, I prefer something like C++, but if you're thinking about getting a job you sure as hell need to know Java.
First of all, you can't compare Java to C++. They are entirely different classes of languages (in my opinion, I'm not looking for a flame war here). C++ is (in a sense) a compiled language. That is, everything you write eventually gets translated to machine code. Java on the other hand is not. It's "translated" into a code that can only be read by the VM (there are exceptions to this: see Jazelle). So, the argument of java being cross platform is bunk, because Java is a platform. In not being a directly compiled language you get all the drawbacks of scripted languages with none of the benefits of compiled languages.
It would be appropriate to compare it to things like PHP, python, ruby, etc. In those cases, it has good benefits, but I wouldn't write real software in any of them.