Java - the best programming language

Java is without a doubt the best programming language. Not only does it have a ton of features, but it also supports and encourages private ownership of resources, so you will learn a lot about economics from learning java.
Why don't you use java, anons?

The Kind of Tired That Sleep Won’t Fix Shirt $21.68

DMT Has Friends For Me Shirt $21.68

The Kind of Tired That Sleep Won’t Fix Shirt $21.68

  1. 2 years ago
    Anonymous

    1 line of Lisp is worth 100 lines of java

    • 2 years ago
      Anonymous

      >t. copium

    • 2 years ago
      Anonymous

      based lisper vs virgin coorporate payeet

      • 2 years ago
        Anonymous

        good morning sir

        Music for this specific thread:

        Java is not "pajeet" language morons. Also this "pajeet" who use java are way better coder that you ever will. Cope

        • 2 years ago
          Anonymous

          GOOD MORNING SIR

        • 2 years ago
          Anonymous

          DO THE NEEDFUL

    • 2 years ago
      Anonymous

      1 java class is worth 1000 *~~))'s

      • 2 years ago
        Anonymous

        Gotem

      • 2 years ago
        Anonymous

        Lisp literally has superior OOP capabilities. I will take the parentheses over your lack of native support for features actual OOP languages (Smalltalk and CLOS) had for years and the million { [];}s needed to implement a quarter of them.

    • 2 years ago
      Anonymous

      Okay, Bruce.

  2. 2 years ago
    Anonymous

    Java is one of the worst language designed for morons, JavaScript on the other hand is a supreme language, almost all the applications will be written in JavaScript, the recent bun runtime will accelerate the process, it is a multi paradigm and the language is so popular that even one of it's many framework has 1000's of jobs listed, it just literally BTFO's Java gays, python gays.

  3. 2 years ago
    Anonymous

    >JavaScript on the other hand is a supreme language

    • 2 years ago
      Anonymous

      Yes, all apps should be designed in electron.
      Even OSes should be designed in electron.
      Anyone who wants ~~*speed*~~ is a homosexual

      • 2 years ago
        Anonymous

        EXTREMELY low effort bait

        • 2 years ago
          Anonymous

          So what

  4. 2 years ago
    Anonymous

    Gentlemen.

  5. 2 years ago
    Anonymous

    Is is is is is

    • 2 years ago
      Anonymous

      Ja indeed

  6. 2 years ago
    Anonymous

    good morning sir

  7. 2 years ago
    Anonymous

    I hate Java because I hate the people that use Java. They're a cargo cult that don't know why they do what they do.
    >private fields and public getters and setters are good because it just is
    I hate them because they don't know their own language. I've seen "good" Java programmers have no idea what static methods are, and create a utils class that has to be instantiated to use methods that don't require instance variables.
    I hate them because they think that splitting a tiny program into 20+ files is code organization.

    I hate that Java's "write it once, run it anywhere" is completely false, because it's really "anywhere with an installed JVM with a version compatible with the Java compiler you used."

    But mostly, I hate Java because it's the first programming language that many learn. Because it's the first, it's the preferred language of people who are too lazy and/or moronic to learn a second language. "I can do anything in Java" they say, not realizing that that doesn't mean they should do everything in Java. Need to write it quickly? Use Python. Need to be autistic about safety? Use Rust. Need to make it easy for anyone to contribute? Use JavaScript or Typescript, which, whether you like it or not, is the lingua franca among programmers these days. Need concurrency? Use Go.
    Need to outsource your project to third-worlders who will post their entire job in a stackoverflow question to have another third-worlder do their work for them? Ok, use Java.

    • 2 years ago
      Anonymous

      fields and public getters and setters are good because it just is
      new to programming, can anyone actually explain whats the purpose of this?

      • 2 years ago
        Anonymous

        Muhhh enterprise

      • 2 years ago
        Anonymous

        It promotes the concept of ownership into the code

      • 2 years ago
        Anonymous

        >whats the purpose of this?
        Java programmers will tell themselves that this is """good practice""" and will help maintainability in case they want to extend the functionality of the getters/setters and make them do dumb shit they're not supposed to do

      • 2 years ago
        Anonymous

        Guy you responded to, in my opinion
        the biggest gain is that if you start with getters and setters you're less likely to make a breaking change. That's because you're not switching to getters and setters later since you started out that way, and it's less likely that a change to the fields of a class will be a breaking change since your users would only be using methods. But literally no Java programmer knows that, they just do it because they're told to.

      • 2 years ago
        Anonymous

        Encapsulation.
        The idea is that classes should define an interface and all interaction should happen through that interface. The core idea is that objects are responsible for keeping their own state consistent. Outside code shouldn't be able to mess up your state.

        This is important because it means you can make changes in a class, and not need to worry about changing other code that uses your class, as long as you aren't changing your interface/method signatures.

      • 2 years ago
        Anonymous

        Getters and setters prevent spaghetti while promoting other varieties of pasta. It is such an ugly language. If you find yourself going down the path to becoming a Java programmer, get your shit together and get out of the rut while you still can. There is hope for you.

        • 2 years ago
          Anonymous

          what's a better option? C#, JS? i need something that also gets me good money, im already doing meme stuff on the side

    • 2 years ago
      Anonymous

      >I hate <lang> because I hate the people that use <lang>. They're a cargo cult that don't know why they do what they do.

  8. 2 years ago
    Anonymous

    Because I am not a israelite and dont need an economics class

    • 2 years ago
      Anonymous

      You are joking but that is sadly the attitude of many people nowadays, which is why everyone chants "TaX tHE RicH"

  9. 2 years ago
    Anonymous

    Man we israelites invented Java as a joke in the 1990s and the goy is still falling for it lmao

  10. 2 years ago
    Anonymous

    classes and interfaces were a mistake and making them first class in your language is probably the biggest on you can make. Java is perfect for people who cannot learn anything marginally more complex (even C# outclasses it) but still want to work on most aspects of a codebase, you get a lot of garbage code written in even worse frameworks like spring boot and mockito

    • 2 years ago
      Anonymous

      Interfaces are fine. Virtually every language supports something similar. And when you don't have even the basic classes or interfaces at all, you end up with C.
      While a good thing for a kernel, a look at the source code of microsoft's notepad will tell you everything you need to know about C's verbosity

      • 2 years ago
        Anonymous

        Compared to Rust's Traits or Haskell's Typeclasses they are extremely rigid, add unnecessary complexity and restrict options in development. I much rather have a means of appending features to any type at any time rather than having to decide what interfaces are going implemented only when implementing a class. Also Rust traits make things like generics much more pleasant to work with and filter through especially since there is no type erasure, and where clauses are much more ergonomic to work with.

        • 2 years ago
          Anonymous

          Ok yeah traitsare fine as well, but there has to be some way of polymorphism and as many ways as possible to reduce your code. Rust macros are one thing that is really awesome for this

          • 2 years ago
            Anonymous

            traits are also directly for polymorphism along with generics, and can take on a static dispatch approach or a dynamic dispatch approach with dyn traits. Macros don't really have much to do with this as they're essentially a means to substitute values into a rust expression, which would probably use traits and generics under the hood anyway if the macro was polymorphic. Point being though that Rust's traits and generics reduce a massive amount of complexity that java code would create in comparison.

  11. 2 years ago
    Anonymous

    The fact that Java devs encourage organizing your project like this tells me everything I need to know.
    hello-world/src/main/java/com/lab/dev/anon/helloworld/Application.java (with the actual call to printf being even deeper)

    • 2 years ago
      Anonymous

      >hello-world/src/main/java/
      That's the standard maven, it's common so no reason to frick with it, but if it bugs you you can change that or switch to gradle or something.
      >com/lab/dev/anon/helloworld/
      No reason this had to be 5 levels deep. It could've just been helloworld if you're not worried about collisions.

      • 2 years ago
        Anonymous

        The fact that Java devs encourage organizing your project like this tells me everything I need to know.
        hello-world/src/main/java/com/lab/dev/anon/helloworld/Application.java (with the actual call to printf being even deeper)

        The JVM wasn't thought to do efficiently these kind of simple tasks, and so Java is ill suited for them, not so much for the verbosity of the projects but for the JVM's startup time compared with the inmediate startup of an interpreter. There are several languages that target JVM's bytecode nowadays, which are more viable now with the recent improvements made with newer Java releases, JRuby and Jython were third party ones, the in-house solution offered by the ecosystem was Groovy back then (which isn't actually that bad as a language but unfortunately is used very poorly) and now Kotlin, through a 3rd party module called ktscript and with official scripting support coming soon. There's also the posibility of using GraalVM to compile near native binaries for CLI applications, but that's niche.

  12. 2 years ago
    Anonymous

    >you will learn a lot about economics from learning java
    Haven't heard that one yet, high-quality shitpost.

    • 2 years ago
      Anonymous

      It's true. Using C might lead you to become economically illiterate (communist), because C promotes public variables and shared ownership of resources in the program

      • 2 years ago
        Anonymous

        the frick are you even on about man

        • 2 years ago
          Anonymous

          What do you not understand?

          • 2 years ago
            Anonymous

            how does C promote public variables more so than java, how is java not more so about the shared ownership of resources when it uses reference counters for garbage collectors and encourages producing and sharing different objects to manage state rather than something more data driven? And how does that amount to anything more than a superficial characterization of communism?

          • 2 years ago
            Anonymous

            >how does C promote public variables more so than java
            Because C doesn't have private variables AND it doesn't have classes. Only structs and all members of a struct are public, like in USSR's collective farms

          • 2 years ago
            Anonymous

            In C you can not access variables from another file unless you define them as extern. Essentially private variables.

          • 2 years ago
            Anonymous

            But they are accessible in that file to everyone. So essentialy nationalist communism, or national socialism

          • 2 years ago
            Anonymous

            ah yeah I always mix up C and C++ features, forgot C doesn't have visibility for variables.

          • 2 years ago
            Anonymous

            >Because C doesn't have private variables
            >what is static

  13. 2 years ago
    Anonymous

    dogturd ancient code with needless initializations

  14. 2 years ago
    Anonymous

    Music for this specific thread:

  15. 2 years ago
    Anonymous

    curY makes the poo burn

  16. 2 years ago
    Anonymous

Your email address will not be published. Required fields are marked *