![]() |
Why people think Java is bad and old language? - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE) +--- Thread: Why people think Java is bad and old language? (/Thread-Why-people-think-Java-is-bad-and-old-language) |
RE: Why people think Java is bad and old language? - Eclip$e - 03-03-2017 (03-03-2017, 05:16 AM)insidious Wrote:(03-03-2017, 04:14 AM)Eclip$e Wrote:(01-31-2017, 09:33 AM)BORW3 Wrote: I don't think you have ever used pointers and multiple files to code in c++ using extern variables and classes. When you get their you will find c++ a little stupid compared to Java. In terms of flexibility yes c++ is superior due to it can run on a bare machine and has better performance while java requires a vm and is fairly resource intensive. I was speaking in the sense of there unique abilities. Its like comparing an apple to a pumpkin. RE: Why people think Java is bad and old language? - Xiledcore - 05-18-2017 People are probably going to hate me for saying this but: In my experience, hating Java has become a new trend. Many people have no idea what they are talking about, and they just jump on the bandwagon of hate. Now, don't misunderstand me: I'm not saying that everyone behaves this way, but I have met too many people who do. Java has its strengths and weaknesses. Yes, Java is slower than - for example - C++. Java runs on a Virtual Machine, that's to be expected. Java was originally designed to be reliable and secure, and some performance would have to be sacrificed. Some people expect there to be this perfect programming language, something which definitely does not exist and will not exist in the future. Java is seriously lacking in terms of features, if we compare it to C#. Java is slower than C++ (although Java is not as slow as people keep insisting on it being). There are some badly coded libraries that could have been done better. And yet, Java is one of the most popular programming languages still. It has a really big community, with lots of tutorials. This makes Java an ideal language to learn, because of the amount of resources made available for free. You choose the programming language you find the most suitable for your project. Do I hate Java? Not at all. But that does not mean I think Java is superior. At least I'm aware of its strengths and weaknesses. RE: Why people think Java is bad and old language? - BORW3 - 05-19-2017 (03-03-2017, 05:32 AM)Eclip$e Wrote: In terms of flexibility yes c++ is superior due to it can run on a bare machine and has better performance while java requires a vm and is fairly resource intensive. In my opinion, you are right, both are eatable, but don't taste the same, prefrence is as per person. RE: Why people think Java is bad and old language? - Blink - 05-19-2017 Java is a great language functionally, but the JVM is dumb. (And a bit slow) It would be great if GCJ was still developed, but sadly, it's not. Java would be great if implemented like Python or C. Another issue is that you can run into jar hell. Also, some things are harder in Java than in other languages. Still, I quite like Java. Overall, it depends on the project. Java is great for some things but not for others. RE: Why people think Java is bad and old language? - I Like Gold - 08-02-2017 I program in Java mostly for Minecraft, and I dislike the language. Generics are terribly implemented and cannot be used to their fullest (they are not even real generics), the language is overall verbose and can tend to clutter up pretty easily, it runs in a virtual machine which is good for platform independence but is bad for writing software which needs very low level functionality (and makes it slower than other languages since we now have a VM in the equation), you need reflection to actually make custom runtime annotations useful (and reflection is slow), bytes and shorts are terribly implemented, you cannot write to char[] arrays with strings, such as: char[] array = "Hello!"; Characters are poorly implemented and are not made of much use, and usually only Strings are used. What I mean is that String methods only make use of Strings and not characters, so if you only needed to pass a single character, you would need to make that character into a string; and if you had the character stored as a variable you would need to cast it into a String just to do an operation on a single god damn character. Therefore, characters are kind of useless for basic text operations. Java is, in my opinion, not too good of a language. Minecraft is written in it, however, so in order to do Minecraft shit we need to use Java. There are things like Scala, but Scala is basically a mess-hider JVM language: It is like a "let's clean up our room by shoving everything into our closet or under the bed." because looking at the bytecode of Scala compiled programs or decompiling them into Java code, you can see a huge mess. Scala is an abstraction to a huge mess under the covers. Java is terrible. RE: Why people think Java is bad and old language? - mothered - 08-02-2017 (08-02-2017, 09:58 AM)I Like Gold Wrote: Minecraft is written in it Given Minecraft's popularity, functionality and stability, Java must be doing something right. I understand your viewpoint though. The result Is one thing, "producing" the result Is another. RE: Why people think Java is bad and old language? - Inori - 08-02-2017 (08-02-2017, 12:48 PM)mothered Wrote:(08-02-2017, 09:58 AM)I Like Gold Wrote: Minecraft is written in it Minecraft is still notoriously slow. If you've tried hosting your own Bukkit/Spigot server, you'll know how memory intensive it gets with basic plugins. I'm actually thinking about running some benchmarks to see performance levels. Regardless, Microsoft's decision years ago to port it to C++ for console would've been a great decision for PC as well, but I don't think it's going to happen officially. RE: Why people think Java is bad and old language? - mothered - 08-02-2017 (08-02-2017, 01:26 PM)Inori Wrote: Minecraft is still notoriously slow. If you've tried hosting your own Bukkit/Spigot server, you'll know how memory intensive it gets with basic plugins. I'm actually thinking about running some benchmarks to see performance levels. From that perspective (hosting a server), you've certainly made a valid point. If you do get the chance to do It, It'll be quite Interesting to see how It performs via a benchmark. RE: Why people think Java is bad and old language? - phyrrus9 - 08-02-2017 My 2 cents: 1. It's slow, insecure, and patched together 2. It hasn't kept up with modern technology. It was a great tool back in its day, but the things that once made it stand out are no longer relevant 3. The garbage collector is useless, but you're forced to use it. On top of that, mandatory GC makes programmers stop thinking about their allocations (BAD) 4. It's too easy to make bad software with. There's basically no difficulty factor, so you get a bunch of teenies running around making useless software that does no useful work and just hogs RAM 5. The self proclaimed "java devs" are entitled assholes who think Java is the best thing since sliced bread, and swear by using it even in cases where it doesn't make sense (like controlling air bags in cars) RE: Why people think Java is bad and old language? - g4lyfe - 08-09-2017 but as for me mainly in web applications , why does java associate with the leak in web transaction like i.p and stuff i think it shows the power it has |