1

Why you hate Java? Why the hate? What's the root of all this?(I suspect Microsoft) please explain

Comments
  • 1
    @g-m-f C# is often considered Microsofts rip off from Java and you gotta admit that you can see why
  • 4
    Java is often considered way to verbose for a language as modern it claims to be. Even C++ is less verbose in many areas nowadays
  • 0
    I only used it briefly and a long time ago, my main concern was its lack of a sense of humour
  • 2
    I can't hate java, i live on this island that has gave me more than just a living :(
  • 3
    I actually like working with Java. You can get stuff working much faster than in C++. On the other hand Java is not very efficient and has limitations that you don't have in C++.
  • 0
    @theZorgEffect Are you dutch by any chance?
  • 1
    @linuxxx nope - german. Why?
  • 0
    @theZorgEffect Your username literally translates to (except for 'the') "the healthcare effect" from Dutch to english!
  • 0
    @linuxxx Dutch and German are quite similar, I can understand Dutch, but I can't speak or write it. Simply because they are so similar xD
  • 1
    @linuxxx it's a reference to Jean Baptiste Emanuel Zorg from the fifth element
  • 0
    @theZorgEffect that should be self explanatory code, as my teacher says.
  • 0
    So only two people making some point. That means that's just trend to follow without reason?! Even sadder than Microsoft explanation
  • 1
    i think people hate Java because of the flexibility and power it poses of which they just can't have in the so called morden languages.Java is life
  • 1
    I don't like java because of the jvm. Also there are issues with the same code on different computers (same os, same java version btw). The fact that everything has to be a class is not only unrealistic, but nonsense. And if you work with others and you write a class you cannot hand them a header file with all important information, you have to either write a documentation or hand them all of your code.
    The only point I like about java is that it's easy to learn, especially for beginners. But learners have to write a class for a simple hello world program, that doesn't make sense to me.
  • 0
    @sirjofri JVM means portability... Is that so bad?
    The thing with classes.. can you give any comparisons?
    The header thing... I guess that can be convenient but I never encountered it in c++. I always get CPP files with headers to use that only doubles filecount.
    Have to agree that it's easy for beginners but there are better suited languages, such as python
  • 0
    @g-m-f Java is cheap ripoff of strong language. That might be.
    Not quite sure about update thing. Java releases updates more than once a year https://en.m.wikipedia.org/wiki/... this link says so.
  • 1
    @maximizer portability? My code runs perfectly well on my pc. On my friend's pc (same os, same version) the same code doesn't... In c/cpp i can at least try to create workarounds with preprocessor declarations, because the compiler tells my what's the problem. In java I got some weird jvm runtime error that doesn't say anything. So I have no clue about what I can do. It's trial and error...
  • 1
    @g-m-f @maximizer
    class Hello {
    public static void main(String[] args) {
    System.out.println("Hello World");
    }
    }

    Why do I need a class here? Compare it to c (cpp is equivalent):

    #include <stdio.h>
    int main()
    {
    printf("hello world\n");
    return 0;
    }

    I'm not complaining about classes and objects. I'm just complaining about the fact that every functionality has to be in a class (in design as well as in implementation). Imo that is wrong. Objects/Classes are useful, yes. But what about namespaces? In my Software Engineering course I'm sure that half of the classes can be namespaces (at least). And I think that would have better performance?

    I know, it is possible to create a class with static functions. But we learned that you should always instantiate a class. And what's the point with a class you don't instantiate?

    Long post, I know, but this is devRant, so let me rant, too.
  • 0
    @sirjofri I can imagine that different systems might have some issues with compiling and running stuff.
    But my point was that when you compile it.. it runs on all PC's with Java
  • 0
    @sirjofri its because Java is a full OOP unlike python php and cpp
  • 0
    so everything has to be wrapped in a class so that you can create an object of it.
  • 0
    according to me I think Java has a solid structure..look at how inheritance in Java works ,look at the interfaces and look at the collection Api you can model literally any object from the real world.isn't it beautiful?
Add Comment