Java is actually quite decent.

Why is it so disliked?

It's All Fucked Shirt $22.14

UFOs Are A Psyop Shirt $21.68

It's All Fucked Shirt $22.14

  1. 4 weeks ago
    Anonymous

    Because the statement on the title is false.

    /thread

  2. 4 weeks ago
    Anonymous

    It's fine, but the OOP autism is palpable with every InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState.
    All of the functional features that have been added in the last few years are very obvious hacks that are incredibly awkward to use.

    • 4 weeks ago
      Anonymous

      why do you care about that class, it's internal as the name says

      • 4 weeks ago
        Anonymous

        Go program something in Java other than fizzbuzz.

        • 4 weeks ago
          Anonymous

          I've been doing it for 15+ years

          • 4 weeks ago
            Anonymous

            Well then you understand the phenomenon I'm referring to and are just antagonizing me for no reason.

          • 4 weeks ago
            Anonymous

            There are some programmers who like to use ExtremelyLongIdentifiersThatAreForThingsThatDontReallyNeedSuchExtremeVerbosityAndWhichJustLookRidiculousAsAResult. I used to work with one guy like that. The rest of the team eventually talked him down to a 30 character limit per identifier, and when he left, we shortened virtually everything down to 10 characters or less.
            This was in C and Python. Such idiocy can crop up anywhere, and most developers never rethink an identifier (especially if they don't have to type it out in full).

          • 4 weeks ago
            Anonymous

            damn, does making fizzbuzz really take that long?

          • 4 weeks ago
            Anonymous

            underrated

          • 4 weeks ago
            Anonymous

            Enterprise FizzBuzz does, yes. Quality Doesn't Come Cheap, Inc.

    • 4 weeks ago
      Anonymous

      >All of the functional features that have been added in the last few years are very obvious hacks that are incredibly awkward to use.
      what specifically?

      • 4 weeks ago
        Anonymous

        All of them I literally just said that.
        Pick one. That one.

        • 4 weeks ago
          Anonymous

          i see, you have no idea what you're talking about.

          • 4 weeks ago
            Anonymous

            If that's how you choose to interpret that then so be it.

        • 4 weeks ago
          Anonymous

          Why and how are streams awkward to use?

          • 4 weeks ago
            Anonymous

            they don't simd when jitted, niggette

  3. 4 weeks ago
    Anonymous

    why not Python? easier to use

    • 4 weeks ago
      Anonymous

      >toylang mentioned
      nocoder spotted.

      • 4 weeks ago
        Anonymous

        your mom is a toylang

    • 4 weeks ago
      Anonymous

      python makes java seem like a jet plane in comparison

      • 4 weeks ago
        Anonymous

        It's mostly used to call fast C programs from a high level language. It barely ever becomes the bottleneck to anything. You get the best of both worlds

        • 4 weeks ago
          Anonymous

          So you just use Python like a little girl and let the big boys do the actual work?

        • 4 weeks ago
          Anonymous

          >It's mostly used to call fast C programs from a high level language.
          Just like Bash. What's wrong with that?

        • 4 weeks ago
          Anonymous

          >It's mostly used to call fast C programs from a high level language.

    • 4 weeks ago
      Anonymous

      different niches that arent really comparable
      the real question you should be asking is "why not Go?"

      • 4 weeks ago
        Anonymous

        This
        If you use Go as a replacement for Java it’s literally better in every way.
        It’s not meant to be hyper performant or full of autistic syntactic sugar, but cniles will latch on to anything to shit on.

        • 4 weeks ago
          Anonymous

          >If you use Go as a replacement for Java it’s literally better in every way.
          Lmao it's not. It has less throughput, it has worse latency and it's verbose as frick. What the frick is even Golang's error handling. I swear I fricking hate people who act as if they knew they would know what they're talking about. This world needs a big fricking global holocaust. Just a fricking reset. I can't endure homosexuals like you anymore.

          • 4 weeks ago
            Anonymous

            ok jeet

          • 4 weeks ago
            Anonymous

            sir, holocaust is a no-go. please think about your words.

        • 4 weeks ago
          Anonymous

          Go is systems programming unlike Java
          frick off back to your corner

          • 4 weeks ago
            Anonymous

            >Go is systems programming
            if you mean its supposed to compete with with C/C++, no, it absolutely is not a "systems programming" languages
            where do you nocoders even get this stuff

          • 4 weeks ago
            Anonymous

            beats me, tell that to gophers
            it's not applications programing

          • 4 weeks ago
            Anonymous

            k8s was written in go I think, mr coder

          • 4 weeks ago
            Anonymous

            It has GC therefore it isn't a systems programming language.

          • 4 weeks ago
            Anonymous

            Oberon-2 homies would disagree

          • 4 weeks ago
            Anonymous

            Cedar, Zetalisp and Oberon say "hi ur a moron".

            Oberon isn't suited for 'system' programming either though, that's a terrible counterexample. Should've gone with BASIC-PLUS+RSTS.

          • 4 weeks ago
            Anonymous

            What, exactly, do you consider to be "system" programming that Oberon can't do?

          • 4 weeks ago
            Anonymous

            NTA, but can you make a typical kernel driver in it or run it on bare metal? If so, it's a systems programming language for me.

          • 4 weeks ago
            Anonymous

            Oberon was used to write an operating system from the ground up - on bare metal (on two different CPUs that I know of, one CISC and the other RISC), including its own garbage collector, device drivers, windowing system, editor, compiler, linker, etc. There was not a single line of assembly in the entire OS, not in the bootloader, not in the garbage collector. It's definitely a system programming language.

          • 4 weeks ago
            Anonymous

            If it's garbage collector is written in the same language and not part of its runtime then there is no reason not to consider it systems language. When I was talking about languages having GC I meant languages with larger, complex runtime, like Go for example. Go is not suitable to write drivers, OS and run on bare metal. If oberon is suitable for these, then there is no reason not to call it systems language.

          • 4 weeks ago
            Anonymous

            It isn't about "Can't" It's about suitability, Oberon on the bare-metal is very awkward, absolutely everything has to be done with pointer arithmetic through the system module or utilizing undocumented 'features' which invalidate most of the reasons you'd use a managed language.

            k8s was written in go I think, mr coder

            People haven't called orchestration or control 'systems programming' in over 3 decades, also Kubernetes is primarily a wrapper around C.

          • 4 weeks ago
            Anonymous

            >People haven't called orchestration or control 'systems programming' in over 3 decades, also Kubernetes is primarily a wrapper around C.
            seek help my man

          • 4 weeks ago
            Anonymous

            No Boomer, we aren't going back to CEL no matter how hard you screech.

          • 4 weeks ago
            Anonymous

            >It isn't about "Can't" It's about suitability, Oberon on the bare-metal is very awkward, absolutely everything has to be done with pointer arithmetic through the system module or utilizing undocumented 'features' which invalidate most of the reasons you'd use a managed language.
            (Cont) I'd feel bad if I didn't explain this can and has been solved by having re-programmable microcode at the user-level, so It'd be more fair to say Oberon isn't suited for modern architectures and was obviously designed for Alto-like architectures.

          • 4 weeks ago
            Anonymous

            You're perhaps thinking of Modula-2? Oberon has never run on an Alto-like architecture. It was originally written for the NS32032 CPU (a CISC CPU analogous to the MC68030 and DEC VAX), and was later ported to the Intel 386 line and to an in-house RISC CPU.

            You claim to be more of an expert on the Oberon OS than I am, so please point out the undocumented features that are being used and in which modules this is happening, because I've never noticed it. I have both the x86 Active Oberon system as well as the RISC version on my machine, so either one will do.

          • 4 weeks ago
            Anonymous

            Cedar, Zetalisp and Oberon say "hi ur a moron".

    • 4 weeks ago
      Anonymous

      I'm using Python at the moment for a project I nomrally use Java and I really don't like Python that much.

      >need an object to take two mutually exclusive arguments in its constructor
      >can't just define two constructors have to do some horrible shit with defaults or specify what variable you mean
      >want to handle exceptions and get a nice error message have to use this repr shit or inspact the exceptions args array

      Like in Java this stuff is trivial, add as many constructors as you want for different circumstances and for exceptions just call e.getMessage() not e.args[0] or repr(e), I'm starting to think "pythonic" is just a fancy word for shit.

      • 4 weeks ago
        Anonymous

        Just use an init function and stop inventing problems.

      • 4 weeks ago
        Anonymous

        Just use **kwargs (untyped way) for optional parameters or implement builder or factory pattern (typed way). In python you can even put the non positional arguments in the signature and even set default values right there (beware of lists, dicts literals) so they are in a function signature. I'm java dev myself and don't like python myself, but this is just the "skill issue" problem.

        • 4 weeks ago
          Anonymous

          >**kvargs
          actually have a nice day if you use that shit
          >yeah, let me just make my code completely unreadable

        • 4 weeks ago
          Anonymous

          >beware of lists, dicts literals
          Wait, is there yet another python gotcha I never heard about?

      • 4 weeks ago
        Anonymous

        homie what about @overload?

    • 4 weeks ago
      Anonymous

      The morons replying to you think harder == better, ignore them.

    • 4 weeks ago
      Anonymous

      Can someone kill that moron for me?

  4. 4 weeks ago
    Anonymous

    Mostly because people repeat hearsay.

    • 4 weeks ago
      Anonymous

      Exactly. Then there are functional autists who hate everything not purely functional, and Python and JS brainlets who can't understand types.

    • 4 weeks ago
      Anonymous

      kek it's always great to see noobies squirm when I ask them what exactly is wrong with Java, both in old and modern codebases, they just freeze and dodge the questions

      • 4 weeks ago
        Anonymous

        At best you'll get a
        >I-It's too verbose!!!
        Just don't ask what exactly that means.

      • 4 weeks ago
        Anonymous

        At best you'll get a
        >I-It's too verbose!!!
        Just don't ask what exactly that means.

        Stop replying to yourself, no wonder you like verbosity.

        • 4 weeks ago
          Anonymous

          >every post i dont like must be a samegay

          • 4 weeks ago
            Anonymous

            Just because it's not true in general doesn't mean it cannot be true in this particular case.

  5. 4 weeks ago
    Anonymous

    Java programs are generally slow as dogshit. I remember using that Java bittorrent client I think it was Azereus or something. Slow as dogshit. Almost every Java program is a fat pig and slows down the most modern of computers.

  6. 4 weeks ago
    Anonymous

    the flatpak of programming languages

    • 4 weeks ago
      Anonymous

      nicely said
      i don't want to use it unless i have no other choice

  7. 4 weeks ago
    Anonymous

    OOP and POOs

  8. 4 weeks ago
    Anonymous

    >Why is it so disliked?
    Spring is the biggest piece of shit I've ever had to use.

    • 4 weeks ago
      Anonymous

      >It's bad to use static global objects and pass them around your program
      >Oh, just use @Autowired on everything

      • 4 weeks ago
        Anonymous

        >doesn't know how dependency injection works

        you all just saw Java code once in your life, probably pre 1.7 and never bothered with it again, and it shows.

        • 4 weeks ago
          Anonymous

          That's literally how Autowired is abused in a ton of spring projects though.

          • 4 weeks ago
            Anonymous

            You don’t need to use it at all, just mark a class as managed by Spring and it will inject dependencies as long as there are beens of the same class/name.
            I don’t use Autowire outside of tests anymore

          • 4 weeks ago
            Anonymous

            It only works in constructor I think. Btw I often use Lombok so every final fields are added to the generated constructor's parameters

    • 4 weeks ago
      Anonymous

      I used to hate spring but after using it for years I don't mind it anymore, its dead simple to setup and it gives you so much OOTB, you can just get down to writing code instead of having to spend hours writing a database layer or other boilder plate code or literallty have a REST API up and running in minutes its great but yeah sure you can get some dogshit errors with it if you have something misconfigured but its so widley used you can normally find an answer online and the documentation is great too.

    • 4 weeks ago
      Anonymous

      you havent worked on moronic django backends, Spring is great, it may be a pain to setup at first, but once its done its really difficult to encounter shit breaking code.

  9. 4 weeks ago
    Anonymous

    Java is just C++ for pajeets

    • 4 weeks ago
      Anonymous

      hello saar this is rajesh patel from durgasoft tech support today i will teach you how to implement binary search tree in java

  10. 4 weeks ago
    Anonymous

    It's the jack of all trades. Not actually GOOD at anything and the oop is fricking annoying. Im not making 80000000 line monster programs where 500 pajeets are gonna use my functions wrong because they can't read

  11. 4 weeks ago
    Anonymous

    Very beautiful language indeed saar.

  12. 4 weeks ago
    Anonymous

    Too fricking verbose. I hate writing and reading it. Thankfully Kotlin fixes many of its problems.

    • 4 weeks ago
      Anonymous

      kotlin's scope functions are cool as frick. I wish other langs had stuff like those.

  13. 4 weeks ago
    Anonymous

    people wanted their gui and java always struggled with having fast justwerks gui, java never standardized one

  14. 4 weeks ago
    Anonymous

    It's popular, therefore popular to hate on. It's just like PHP in that sense. PHP is also ubiquitous in the web and hated just because

  15. 4 weeks ago
    Anonymous

    Java is pretty awful. Using quarkus and the reactive not reactive split sucks when package doesn't support it. Blocking annotations everywhere. Footguns behind every magic feature.
    >config property can't be public or it's null. Make getters like a cuck
    >cxf client eats dates if you don't give it hours and seconds even if target server only takes dates, not times. No errors either
    >equals shit everywhere. You never know if equals works or == or some other compare to
    >record is same as lombok data classes but worse
    >memory hungry
    >as said before the stream api is pretty bad
    >list.of doesn't accept nulls, why need separate api if accept nulls and if not?
    >building and compiling etc slow as balls. Code gen runs again every time instead of on changes.
    >default db configs cause connection leaks in quarkus. Better put your lifetimes
    All kinds of crap out there. The language is hacked to pieces by bytecode changes during complications etc to make it look nicer but only for specific ways.

    • 4 weeks ago
      Anonymous

      >Using quarkus
      hahahahaha, look at this moronic fricking Black person
      t. springbro

      https://i.imgur.com/9CL2D9y.png

      Why is it so disliked?

      anyone who dislikes java is unemployed

      • 4 weeks ago
        Anonymous

        90% of it goes for spring too. And then spring has it's own crap footguns instead. Java is pretty nice in that it makes complex stuff easy. But easy stuff is made hard..
        Coding Java at work and Go at home. Go is opposite of easy stuff is easy but complex stuff is hard. Once made though Go is much easier to edit and modify as you want and need. Not a cuck under Springs boots asking if I can do x.

      • 4 weeks ago
        Anonymous

        >OOP in the worst kind of way
        >takes tons of memory
        >absurdly verbose
        >worst gc ever

        It's either a ragebate or you are a moron ape. Java is one of the worst programming languages, and the worst popular modern language.
        java is pajeet's version of C#.
        > but C# was derived from Java!!!
        irrelevant.

        >anyone who dislikes java is unemployed
        everyone that likes java is a code monkey in some soulless corpo that makes significantly less money than people that actually know what they're doing.
        java is a dated titan, and when you have so many good alternatives (either in JVM or outside JVM) i see no reason to use it other than legacy reasons.

        • 4 weeks ago
          Anonymous

          What's the alternative to quickly make a Linux/Windows/MacOs desktop application? With Java it's dead simple to throw together a JavaFX/Swing interface and release it as a 60mo JLink JVM bundle.
          The alternative I think of is Electron-like apps.

          • 4 weeks ago
            Anonymous

            >What's the alternative to quickly make a Linux/Windows/MacOs desktop application?
            flutter, electron, qt, compose (which is in Kotlin)

            >With Java it's dead simple to throw together a JavaFX/Swing interface and release it as a 60mo JLink JVM bundle.
            JavaFX/Swing applications are bad, the only decent ones are those of jetbrains. Also, I don't know if you've ever written anything with JavaFX, but JavaFX is the worst clusterfrick and library i've ever used.

          • 4 weeks ago
            Anonymous

            >JavaFX/Swing applications are bad, the only decent ones are those of jetbrains.
            Bisq
            Cryptomator
            FutureMark's GUI

            I found distributing javafx applications to be really annoying because you need a different version of the library for each operating system

            Wtf. Maven/gradle take care of that for you.

          • 4 weeks ago
            Anonymous

            I found distributing javafx applications to be really annoying because you need a different version of the library for each operating system

          • 4 weeks ago
            Anonymous

            I think the best way to distribute your app is including the JRE so people don't have to download it/get a specific version.
            If you do zip all the JRE for your app (using JLink to make it smaller), you'll have different packages for MacOs/Windows/Linux anyways. So you need 3 Maven goals to make the packages. So it's not so crazy to do "mvn package -Djavafx.platform=mac-aarch64", "mvn package -Djavafx.platform=win" etc.

          • 4 weeks ago
            Anonymous

            Doesn't GraalVM take care of this for you now?

        • 4 weeks ago
          Anonymous

          >java is pajeet's version of C#.
          And C# is the N*GGER and T*ANNY version of Java KEK

          • 4 weeks ago
            Anonymous
        • 4 weeks ago
          Anonymous

          >but C# was derived from Java!!!
          This is a misconception. Microsoft threw away their ActiveX-enabled JVM after Sun sued them, and started from scratch. C# is derived from Xerox Cedar/Mesa, DEC/Olivetti Modula-3, and (later on) Haskell and Common Lisp. The superficial syntax similarities between Java and C# are due to both using C/C++ style syntax, and both having some common inspirations (Java was also inspired by Cedar/Mesa).

    • 4 weeks ago
      Anonymous

      Oh also stupid checked exceptions. You can catch them with catch(CheckedExcepfion err) unless the function defines it on signature. Have to catch Exception and instanceof to check if it's the one you want.
      Truly language of hacks.

      • 4 weeks ago
        Anonymous

        >Truly language of hacks.
        oh you're talking about javaSCRIPT, then. Ok.

      • 4 weeks ago
        Anonymous

        I'm of two minds on checked exceptions. For most client side work or one-off utilities their a pain in the ass. But I've worked on server side stuff that has to Just Werk, and knowing all the exceptions that can possibly arise is a godsend, especially when you upgrade a library and don't know what new exceptions might be coming out of it. I really wish the compiler only turned on enforced exception handling based on a compiler flag, it doesn't need all the boilerplate to track exceptions, the boilerplate is merely there to enforce intentionality in the code.

      • 4 weeks ago
        Anonymous

        heh another junior
        checked exceptions are to be checked, yeah

    • 4 weeks ago
      Anonymous

      >Blocking annotations everywhere.
      So what? Virtual Threads solve this kek.

  16. 4 weeks ago
    Anonymous

    >Why is it so disliked?
    Oracle

    • 4 weeks ago
      Anonymous

      Oh yeah this too, the autistic screeching about Oracle just because it's Oracle as if OpenJDK wasnt a thing. Java hate is so irrational, immature, ill-informed, incompetent. Plain stupid.

      • 4 weeks ago
        Anonymous

        >Java hate is so irrational, immature, ill-informed, incompetent. Plain stupid.
        you are a lowlife moron with zero experience outside of java if you really think that java hate is irrational, immature, ill-informed, or incompetent. there are countless of valid arguments against java that are not due to Oracle. It was a shitty language in 2004, it is a shitty language in 2024.

        say what you want. I have had a job and made good money for 12 years thanks to Java.

        >say what you want. I have had a job and made good money for 12 years thanks to Java.
        there are countless people with great jobs and salaries using COBOL, it doesnt mean that COBOL isn't a clusterfrick (writing software as a poetry).
        there are many people that make tons of money using javascript, js frameworks, and other shit like that.

        • 4 weeks ago
          Anonymous

          COBOL is not a clusterfrick. You are just filtered by business logic

        • 4 weeks ago
          Anonymous

          >you are a lowlife moron with zero experience outside of java if you really think that java hate is irrational, immature, ill-informed, or incompetent
          I'm a professional full-stack writing Java (Spring, JavaFX), Go (Gin), JS (React, Vue) and SQL. Oh and brief stint with Clojure and Haskell. Java is good.

          • 4 weeks ago
            Anonymous

            >Great jobs and salaries
            >COBOL
            Your responding to a literal child Anon who first learnt about it in 2020 during the pandemic.

  17. 4 weeks ago
    Anonymous

    midwits get filtered by design patterns

  18. 4 weeks ago
    Anonymous

    It's fine but Kotlin is so much nicer to use

  19. 4 weeks ago
    Anonymous

    IQfy is just filtered by objects

  20. 4 weeks ago
    Anonymous

    only used in business where you need oracle database, or android

    Use C for real computers

  21. 4 weeks ago
    Anonymous

    say what you want. I have had a job and made good money for 12 years thanks to Java.

  22. 4 weeks ago
    Anonymous

    yeah I don't get why people hate JavaScript

  23. 4 weeks ago
    Anonymous

    I write in whatever language makes me money. I do not give a frick about whether it's bloat or what you think about the Stream API.

    t. sex haver

  24. 4 weeks ago
    Anonymous

    it's trash because it's not purely functional

  25. 4 weeks ago
    Anonymous

    We have to run a small elastic search instance, and it barely fricking works with 8gb of ram.
    Same with sonarqube and most Java programs.

    My biggest gripe with the language is that you can't just make a function, but everything has to be a method.
    Also n+=1 is not exactly semantically the same as n=n+1 lol

    • 4 weeks ago
      Anonymous

      >Also n+=1 is not exactly semantically the same as n=n+1 lol
      Give me an example of when this isn’t exactly the same

      • 4 weeks ago
        Anonymous

        If evaluating "n" produces observable side effects, then the two expressions will have different observable results, since one evaluates n once and the other twice.

      • 4 weeks ago
        Anonymous

        class Example {
        static void main(String... s) {

        byte n = 1;
        n += 1;
        n = n + 1; // won't compile

        System.out.println(n);
        }
        }

        If evaluating "n" produces observable side effects, then the two expressions will have different observable results, since one evaluates n once and the other twice.

        This anon is moronic, and isn't me

        • 4 weeks ago
          Anonymous

          Genuine moron.

          • 4 weeks ago
            Anonymous

            Me or the guy I'm calling moronic?

          • 4 weeks ago
            Anonymous

            All of you.

          • 4 weeks ago
            Anonymous

            My example is true though (I forgot a public, but the point stands).
            Not saying it matters, just an interesting tidbit that n+=1 and n=n+1 are semantically different.

        • 4 weeks ago
          Anonymous

          Hey moron Black person your type casting incorrectly I didn’t ask if you could use the operator wrong I asked if you could use it incorrectly in a way that those expressions wouldn’t be the same.

          • 4 weeks ago
            Anonymous

            You’re

          • 4 weeks ago
            Anonymous

            They are not the same, one compiles and one doesn't.
            I don't know how I can possibly make it any simpler than that.

          • 4 weeks ago
            Anonymous

            Okay you dumb Black person listen to me when you use n = n + 1 it’s typecast as an int but n+= 1 uses inherent typing so it recognizes the byte. You’re just moronic for not explicitly casting.

          • 4 weeks ago
            Anonymous

            >They are the same, one does X and the other does Y
            ???
            If you replace all occurrences of n+=1 in a project with n=n+1 then things could break.
            Ergo they are not the same.

            Number literals are, by default, ints. When you use an operator in java, the data type will be the type of the widest operand. In Java, widening from a smaller width to a larger width type works implicitly, but narrowing must be done explicitly.

            In this instance, you are assigning an int to a byte, and there is a difference of 24 bits between the two. Java can narrow the result of an int addition if all the operands are known at compile time and the result is within the range of the narrow data type it is assigned to - but only during initialization.

            This is why you get an error here. It has nothing to do with n++, n += 1 and n = n + 1 supposedly being different. I would bet money that the same bytecode is emitted for all three expressions.

            You are an actual moron.

            I know why it happens moron.
            >It has nothing to do with n++, n += 1 and n = n + 1 supposedly being different.
            Yet one compiles and the other doesn't...
            >I would bet money that the same bytecode is emitted for all three expressions.
            Probably, that's why I said they are semantically different, because the casting semantics are in fact different.

        • 4 weeks ago
          Anonymous

          Number literals are, by default, ints. When you use an operator in java, the data type will be the type of the widest operand. In Java, widening from a smaller width to a larger width type works implicitly, but narrowing must be done explicitly.

          In this instance, you are assigning an int to a byte, and there is a difference of 24 bits between the two. Java can narrow the result of an int addition if all the operands are known at compile time and the result is within the range of the narrow data type it is assigned to - but only during initialization.

          This is why you get an error here. It has nothing to do with n++, n += 1 and n = n + 1 supposedly being different. I would bet money that the same bytecode is emitted for all three expressions.

          You are an actual moron.

          • 4 weeks ago
            Anonymous

            Forgot to mention what

            Okay you dumb Black person listen to me when you use n = n + 1 it’s typecast as an int but n+= 1 uses inherent typing so it recognizes the byte. You’re just moronic for not explicitly casting.

            said. Post and pre increment operators implicitly cast the result to the data type of the variable it is applied to. if b was a short, b += 1 is equivalent to b = (short) (b+1).

            They are semantically equivalent, but one is more convenient to use. There aren't many cases where a variable is manually incremented in my daily work, so I don't encounter that scenario a lot. For most of the reasons I can think of to increment a variable by one, there are more useful ways to accomplish that end. If you have a collection of elements, you can either use the enhanced for loop or pass a lambda to the foreach/map method of that collection.

          • 4 weeks ago
            Anonymous

            >Post and pre increment operators implicitly cast the result
            >They are semantically equivalent
            You have to be trolling right, please tell me you are trolling

          • 4 weeks ago
            Anonymous

            Here’s a guy who doesn’t know what semantic means

          • 4 weeks ago
            Anonymous

            >n = n + #;
            >error: illegal character: '#'
            Syntax error

            >n = n + 1;
            >error: incompatible types: possible lossy conversion from int to byte
            Type semantics error

            Please correct me

          • 4 weeks ago
            Anonymous

            Basically that’s just a type error it’s not really semantic

          • 4 weeks ago
            Anonymous

            That is semantics, what do you think semantics means?

          • 4 weeks ago
            Anonymous

            That is semantics, what do you think semantics means?

            (me)
            To answer my question for you, let me quote the dragon book:
            >1.2.3 Semantic Analysis
            >An important part of semantic analysis is type checking, where the compiler
            >checks that each operator has matching operands.

          • 4 weeks ago
            Anonymous

            If the program doesn’t compile it’s not really a semantic error it’s a fricking type error you dumb b***h homosexual who can’t typecast properly. I don’t give a frick what the book says semantic errors give an incorrect output they don’t throw an error.

          • 4 weeks ago
            Anonymous

            If a semantic error didn't cause the program to fail to compile THEN WHAT WOULD BE THE FRICKING POINT.
            Please define semantics for me, holy shit

          • 4 weeks ago
            Anonymous

            You literally don’t know what a semantic error is. Semantic errors don’t cause the program to fail because of a syntax or runtime error you fricking idiot semantic errors cause an incorrect output but the program still runs.

            It would be like using += when you meant to use =+

          • 4 weeks ago
            Anonymous

            This is from some runsetone shit I don’t care to find a better source

            1.9. Semantic Errors
            The third type of error is the semantic error. If there is a semantic error in your program, it will run successfully in the sense that the computer will not generate any error messages. However, your program will not do the right thing. It will do something else. Specifically, it will do what you told it to do.

          • 4 weeks ago
            Anonymous

            So what would you call an error that occurs during semantic analysis, after syntactic analysis?
            Using "semantic error" to just mean bug seems pretty fricking moronic.

          • 4 weeks ago
            Anonymous

            A type error. I accept your concession.

          • 4 weeks ago
            Anonymous

            It is a semantic error that happens during semantic analysis.
            But hey, maybe you have it totally right, you should sent a correction to the authors of the dragon book

          • 4 weeks ago
            Anonymous

            It’s literally just a type mismatch bro. I will probably email the dragon book morons

          • 4 weeks ago
            Anonymous

            A type mismatch is a semantic error bro.
            Make a thread when you get a response

          • 4 weeks ago
            Anonymous

            Also it doesn’t happen during semantic analysis it occurs after due to the semantic interpretation of inherent types. I LITERALLY JUST CHECKED IT THROWS A TYPE MISMATCH ERROR FRICK YOU FOR WASTING MY TIME WHEN I ALREADY KNEW IT WAS A TYPE MISMATCH. Should have never doubted myself. Frick you.

          • 4 weeks ago
            Anonymous

            >it doesn’t happen during semantic analysis
            >IT THROWS A TYPE MISMATCH ERROR

            [...] (me)
            To answer my question for you, let me quote the dragon book:
            >1.2.3 Semantic Analysis
            >An important part of semantic analysis is type checking, where the compiler
            >checks that each operator has matching operands.

            >An important part of semantic analysis is type checking
            Maybe try learning to fricking read, TYPE CHECKING IS A PART OF SEMANTIC ANALYSIS

        • 4 weeks ago
          Anonymous

          i really don't understand why so many of you IQfy morons are fixated on these minute features of the language. Who gives a shit that n = n + 1 won't compile in java if n is declared as a byte? You literally only enounter it once, read up why it won't work, and never use that again for the rest of your life. Yet you morons make threads upon threads as to why language X is the 'worst in the world' because of shit like this that is completely irrelevant.

          • 4 weeks ago
            Anonymous

            >are fixated on these minute features
            >is the 'worst in the world' because of shit like this
            In my original post I complain about memory usage and everything being forced into an oop paradigm.
            And I offhandedly mention the n+=1 thing
            >Also n+=1 is not exactly semantically the same as n=n+1 lol

            If you think I was fixated on that, or said that was the reason java is bad, then you need to work on your reading comprehension.
            I can't help that a bunch of morons don't understand the word "semantically", and decided to argue the point.

    • 4 weeks ago
      Anonymous

      >We have to run a small elastic search instance, and it barely fricking works with 8gb of ram.
      that's like complaining that "a small 747" doesn't fit in your home's garage
      elasticsearch is heavy-duty enterprise shit. you don't run it on machines with less RAM than the typical web-browsing laptop
      same with sonarqube

      >Also n+=1 is not exactly semantically the same as n=n+1 lol
      it is for ints and Strings

      class Example {
      static void main(String... s) {

      byte n = 1;
      n += 1;
      n = n + 1; // won't compile

      System.out.println(n);
      }
      }

      [...]
      This anon is moronic, and isn't me

      hope you at least realize why it "won't compile" and not just assume "doesn't work lol" like some clueless junior or student

      and since you're b***hing about performance, have you tried not using bytes? Java is optimized for int-to-int operations.
      if you're low on RAM: just buy more, you cheap frick

      • 4 weeks ago
        Anonymous

        >that's like complaining that "a small 747" doesn't fit in your home's garage
        If it was written in C/++, Go, Rust, etc it would work the same but use 10% of the RAM, or be 10x faster.
        I only interact with it like once a week, so I'm not putting it on a 500 USD azure vm out of principle.

        >hope you at least realize why it "won't compile" and not just assume "doesn't work lol" like some clueless junior or student
        I did all the OCP horse shit just like everybody, I know += has an implicit cast.
        It's just a funny quirk of the spec, I mentioned it for that reason.

        >have you tried not using bytes?
        Obviously I'm only using bytes in that example to contrive the compiler error.

        >if you're low on RAM: just buy more, you cheap frick
        >Just triple all your server costs lol
        Oracle Certified moron

        • 4 weeks ago
          Anonymous

          >>Just triple all your server costs lol
          with a RAM purchase? are you running your "server" out of a pajeet's basement?

          • 4 weeks ago
            Anonymous

            >inb4 don't use azure
            Try to imagine what it's like to have an actual job for one second

          • 4 weeks ago
            Anonymous

            I wonder what the argument is for having these small instances, elasticity alone doesn't justify the price. You could buy a really beefy GPU server on Hetzner for those prices.

          • 4 weeks ago
            Anonymous

            Why would azure not offer it, if people want them.
            As for why companies use them,
            having everything with the same host is easier for accounting,
            general microsoft ecosystem integration.

          • 4 weeks ago
            Anonymous

            This is why you develop your infrastructure on Kubernetes with Karpenter to allocate spot instances for compute at a 90% max possible cost deduction.
            The initial ramp up on learning K8s is definitely something, but god is the payoff worth it in the long run.

  26. 4 weeks ago
    Anonymous

    >computational statistics on Jave
    and he was always sweaty and out of breath after the classes

  27. 4 weeks ago
    Anonymous

    Probably because Java has been standing still for a while whereas other languages and better solutions emerged for similar use cases afterwards.
    Many Java programs are stuck on 8. Transition to 11/17 is ongoing but slowly.
    I think Java works well enough. I'm part of developers who like writing something once and have it work forever. I still believe Java to be the best at that.

    • 4 weeks ago
      Anonymous

      >I still believe Java to be the best at that.
      People will hate you for speaking the truth.
      The reason Java programs have the problem of being stuck at 1.8 is primarily because they survived so long in the first place.

      I found distributing javafx applications to be really annoying because you need a different version of the library for each operating system

      Wasn't there some lib you could use that just dynamically did it for you depending on what OS it was started on? Never really used JavaFx though other than fricking around a bit.

  28. 4 weeks ago
    Anonymous

    People who don’t like Java didn’t go to college

    • 4 weeks ago
      Anonymous

      People who don't like Java did go to college/university, but were "taught" wrong by clueless academics, which is the root cause why they don't like it

    • 4 weeks ago
      Anonymous

      You say that as if it were a bad thing.

    • 4 weeks ago
      Anonymous

      no Black person we just learnt the superior OOP language (C++)

      • 4 weeks ago
        Anonymous

        C++ isn’t even object oriented that’s why there’s c#

    • 4 weeks ago
      Anonymous

      as a JEE institute of technology alum you are so very correct sir these people are certainly envious of their did not recieve a good education :laughing_face: jai hind

    • 4 weeks ago
      Anonymous

      Java was the first language I learned at university, I thought it was garbage.

    • 4 weeks ago
      Anonymous

      I learned C, C++, Java, Matlab, Javascript and Python in that order at college and in hindsight I can say that Java was the worst one. It gathers many of the cons of statically typed languages and interpreted languages, and spices it up with a collection of standard libraries whose methods just feel wrong to use with the way they're designed, and with a dogshit performance.
      Honestly if you want to (and aren't forced to) do something in Java, consider Python instead. For all the bad rep it gets, at the end of the day it is easier to use and understand, performs well enough (I'd say slightly under Java at worst), and I could actually get a working app with a GUI made out of native libraries using Python. Meanwhile shit ranged from harrowing to impossible to debug and ultimately to make work in Java.
      I even hated Python at first for its dynamically-typed nature but it won me over by allowing me to autistically type-hint everything which is a blessing for documentation and when you're on an IDE like Visual Studio.

      • 4 weeks ago
        Anonymous

        >Java
        >at college
        there's your problem
        colleges are absolute shit at teaching Java

        >Meanwhile shit ranged from harrowing to impossible to debug and ultimately to make work in Java.
        Java is absolute heaven to debug. It's probably why codebases can turn to such shit (especially when only students and/or pajeets are hacking at it, with no white man to lead the way), because it's so easy to debug and just throw in another fix instead of redesigning whole components. But that's a programmer issue, not a language issue

  29. 4 weeks ago
    Anonymous

    Because people think it runs like shit after seeing Minecraft's performance.

  30. 4 weeks ago
    Anonymous

    (Modern) Java is fine. It's the user base that is absolute mouth breathing morons.
    I only enjoy Java if I don't have to use any 3rd party libraries.

  31. 4 weeks ago
    Anonymous

    The language itself is actually pretty decent. Nothing amazing about it, but nothing fundamentally wrong either, which is the most important thing.

    The really awful thing about Java is the entire community around it, which fell hard for design patterns and other corporate memes, leading to an insane amount of unnecessary complexity. The sad part is that corporate drones often become affected with Stockholm syndrome and defend this shit, as you can seein this very thread.

    • 4 weeks ago
      Anonymous

      I remember a colleague writing a small tool to extract some data from one of our internal tools and then put it nicely in an excel, the entire thing was like 750 lines at most and it did it's fricking job but it was the most plain java you've ever seen.
      Then one guy had the absolutely amazing idea to "springify" this thing and it's been an unmaintainable mess ever since with sever classes that are literally just boilerplate because that's "the way it's supposed to be done"

      • 4 weeks ago
        Anonymous

        This is why I just use Python for this kind of shit. Apart from the fact that it is IMHO a genuinely better language for these tasks, it also doesn't have the same ridiculous mentality. Yes, I'll take "Pythonic" over Spring shit and the like.

        • 4 weeks ago
          Anonymous

          I like spring and I agree you have to be a moron to use it in a project that is not strictly big and with microservices . If you know java and go you have your car and your bicycle. No need to compare them Tbh

  32. 4 weeks ago
    Anonymous

    C# is 1000X better syntax wise. other than that you're right

    • 4 weeks ago
      Anonymous

      >other than that you're right
      OP literally stated nothing, he merely asked a question. Either AI-generated post or a factual moron.

    • 4 weeks ago
      Anonymous

      >C# is 1000X better syntax wise.
      Give me 3 examples please.

      • 4 weeks ago
        Anonymous

        Property getters
        Linq
        Ef

        • 4 weeks ago
          Anonymous

          Give me specific code examples right here don't just spout features.

          • 4 weeks ago
            Anonymous

            You can Google each feature and see what it requires in Java. Lombok for worse property getters. Streams for much worse Linq. Hibernate for worse ef

          • 4 weeks ago
            Anonymous

            So you don't actually know what you're talking about. You're not even capable of giving me small examples.

            What in the FRICK do I need property getters for when Java has records which generate them automatically?

          • 4 weeks ago
            Anonymous

            Records are okay but very lackluster. No mutability makes them suck for quite a few use cases. Want to edit one field? Copy whole object again. They are tolerable but nothing on actually good languages.

          • 4 weeks ago
            Anonymous

            fricking lol, that's the whole point of a record Sir
            in-place value swaps are the root of all evil

          • 4 weeks ago
            Anonymous

            Meh immutability is a new midwit cope. Just a bit ago I wanted to count a few separate things in a lambda and pass it elsewhere. Record sounds perfect to group a few things. But for counting it sucks ass.
            Records work for simple cases where you never need to edit anything. And for those cases data classes work just as well. When you realize record doesn't work after all it's pain to change into a class too since getters have different syntax.

          • 4 weeks ago
            Anonymous

            >Lombok for worse property getters.
            Java has records now
            >Streams for much worse Linq.
            Not anymore. Java has gatherers now.
            >Hibernate for worse ef
            Nope. Explain.

          • 4 weeks ago
            Anonymous

            >linq
            Absolutely disgusting, but it’s not a surprise Cshitters would allow to pollute their codebase with SQL-esque crap

            >Lombok for worse property getters.
            Java has records now
            >Streams for much worse Linq.
            Not anymore. Java has gatherers now.
            >Hibernate for worse ef
            Nope. Explain.

            >gatherers
            As a Java dev I find it also repulsive. Why would you create boilerplate classes to work on streams? It works against what streams were about. I hope it doesn’t come out of preview in this state

  33. 4 weeks ago
    Anonymous

    literally every single thing is disliked by someone here. lurk moat newfriend, you'll learn.

  34. 4 weeks ago
    Anonymous

    Because people that work with Java and the like are just normal employed people who have lives outside of programming. You see it disliked by people who are terminally online. Also why Rust seems so popular, yet there are 0 job postings for it.

    • 4 weeks ago
      Anonymous

      I've seen plenty of rust job postings but they weren't braindead enterprise gigs so I guess you're automatically filtered by them.

      https://i.imgur.com/9CL2D9y.png

      Why is it so disliked?

      The design pattern moronation has ruined the language with thousands of enterprise projects being ten classes deep just to get a method that adds something to a list.

      • 4 weeks ago
        Anonymous

        >design pattern moronation
        that was C++'s doing
        GoF's Design Patterns book released just before Java was even released

        • 4 weeks ago
          Anonymous

          >that was C++'s doing
          True, but the many inherent problems of Sepples overshadow design pattern memes on that case. Sepples developers are already too busy fighting with the language itself.

          Indeed, Java was in no small part developed as a response to the exceptional and unnecessary complexity of Sepples, and it was undeniably a success from that perspective: there is no bullshit such as the "rule of 3/5/0” etc. Unfortunately, the clear bias towards OOP and the relative simplicity of the language allowed Enterprise™ practices to flourish, which are the real ruin of the language in practice.

    • 4 weeks ago
      Anonymous

      >just normal employed people
      not sure being stuck at a dead end webshit job carries the positive connotations you think it does
      java shops are notorious for treating people like brain dead code monkeys

      • 4 weeks ago
        Anonymous

        >java shops are notorious for treating people like brain dead code monkeys
        this. java was created because programmers demand was high and most new programmers were moron that couldn't use c++

        • 4 weeks ago
          Anonymous

          >Java is a language for morons
          These justifications are getting worse by the day. What about JavaScript? TypeScript? Python? Rust? Kotlin? Swift? Dart? R? All of these languages that attempt to simplify programming so it's easier to work with?
          I mean, I know IQfy is all about C-niles but still. Java was made because developing programs in C/C++ across multiple platforms was a nightmare. It took decades for useable solutions to arise, and even then it's far from perfect.
          Web technologies are the next step in cross-platform software, with everything running in a Web browser developed in C/C++ by qualified developers, throwing all of IQfy's C-niles under a train.

          • 4 weeks ago
            Anonymous

            >Web technologies are the next step
            spotted a salty webshitter
            You Will Never Work in Fintech

          • 4 weeks ago
            Anonymous

            >All of these languages that attempt to simplify programming so it's easier to work with?
            Agreed. We should all just write assembly.

          • 4 weeks ago
            Anonymous

            >These justifications are getting worse by the day. What about JavaScript? TypeScript? Python? Rust? Kotlin? Swift? Dart? R? All of these languages that attempt to simplify programming so it's easier to work with?
            The only language that I know in the last few years that was released with the intention to make things simpler was Go. Your examples are just wrong.

            Python was released as a PERL replacement.
            JS was created in a fricking weekend by a moron in AOL to persuade Java developers. TS was created to deal with the caveats of JS. They were never designed and thought about as SIMPLE languages.
            Rust was designed to be simpler C++. It is still complex but compare to C++ it is much simpler.
            Kotlin is simpler than Java, and it is easier to do things with kotlin than with java, although it was not designed or released to be "simpler java" or "simpler programming language"
            I dont know or care about Swift or R.
            Dart - If you've ever touched Dart or Flutter you know it is a good and simple programming language (for the most part). The language itself makes tons of design patterns (builder for example) obsolete.

            >Java was made because developing programs in C/C++ across multiple platforms was a nightmare.
            It's not 1996 anymore, we have good alternatives that are not C/C++ for MANY applications, so it is not like java is "the least worst".
            You want cross-platform GUI? Flutter, Electron, QT, GTK (eh...), Compose.
            You want cross-platform networking? Go, Python, and sometimes Rust.
            The state of multi-platforming is not the same it was in 1996~2003. Today you have TONS of alternatives and to do ANYTHING with Java is a bad decision ESPECIALLY when you have Kotlin, Clojure, or Scala.

            >Web technologies are the next step in cross-platform software
            moron, it doesnt matter, it is not the discussion, and you are wrong.

          • 4 weeks ago
            Anonymous

            >Today you have TONS of alternatives and to do ANYTHING with Java is a bad decision ESPECIALLY when you have Kotlin, Clojure, or Scala
            You mean as a single person or as a company?

          • 4 weeks ago
            Anonymous

            >You mean as a single person or as a company?
            Both. We had the choice between Java and Kotlin and we used Kotlin (Android internals).

          • 4 weeks ago
            Anonymous

            >Android internals
            Could it have something to do with Android being hard-stuck at (an incomplete) JDK 11 while everyone else can use JDK 21 since half a year ago?
            I mean, Ktor is nice but outside of Android I don't see many compelling arguments for switching to Kotlin when everyone else already knows Java and the QoL improvements it introduces are slowly being backported to JDK.

          • 4 weeks ago
            Anonymous

            nta, but using kotlin from the start opens up an ezpz jump to kotlin multiplatform

          • 4 weeks ago
            Anonymous

            >Clojure
            Amazing language but genuinely slow as shit. Also good luck finding Clojure devs that aren't seniors who want to be paid 6 figures.

            >Scala
            The C++ of functional programming, wants to do everything at once, overly complex and quite frankly butt fricking ugly

            >Kotlin
            Correct, and that's solely because Java doesn't have good built in null safety in the language. No, Optionals are not good ways to handle nulls.

          • 4 weeks ago
            Anonymous

            >scala
            >overly complex
            Stop repeating shit you read on Reddit. Scala 3 is simple as frick and it only gets difficult if you want it to be difficult. Scala has one of the smallest grammar sizes of all languages. Also Scala mogs Kotlin in every way. Kotlin is fricking garbage because you can't really use it outside of IntelliJ, it doesn't have proper pattern matching and its serialization is fricking broken.

          • 4 weeks ago
            Anonymous

            >Scala has one of the smallest grammar sizes of all languages.
            Lisp has smaller.

          • 4 weeks ago
            Anonymous

            >Scala has one of the smallest grammar sizes of all languages
            Only someone who saw that one presentation by Martin Odersky would make this argument.

          • 4 weeks ago
            Anonymous

            But it's a fact. It's not my fault you're a fricking Typelevel homosexual. Scala is not a complex language unless you're so gay to make it complicated by choice.

          • 4 weeks ago
            Anonymous

            You're right in a sense that Scala 3 is not inherently complex and it does away with most of the implicit bullshit people hated in Scala 2 but its adoption rates are pretty bad and most of the perceived complexity is due to awful, overengineered libraries 99% of Scala projects use. An average programmer is mediocre at best. Mediocre programmers look at existing code and can't even conceptualize a simpler solutions so it's not surprising that none of them make use of Java interop and would go all in on Akka whether they understood how it works or not. It's what they saw people using on the internet. Same story with ZIO and the like.

          • 4 weeks ago
            Anonymous

            >Scala has one of the smallest grammar sizes of all languages.
            That's easy when _ does 20 things at once

          • 4 weeks ago
            Anonymous

            Give me one example.

          • 4 weeks ago
            Anonymous

            >That's easy when _ does 20 things at once
            Also even Java has this now. You are fricking stupid. It just does one thing and that's basically ignoring the name of a variable.

          • 4 weeks ago
            Anonymous

            Give me one example.

            >Black person so mad he can't even post 2 sentences without smashing the "Submit" button

          • 4 weeks ago
            Anonymous

            Give me one example.

            I haven't touched the language in a year and a half. So I'll just take the first thing I saw on stack overflow

          • 4 weeks ago
            Anonymous

            This is moronic. They're all the same with the exception of
            1_000_000
            t._2

          • 4 weeks ago
            Anonymous

            >t. least delusional scala shill

          • 4 weeks ago
            Anonymous

            One local bank here was looking for Java devs to rewrite their Scala code.

          • 4 weeks ago
            Anonymous

            I'm the one you replied to; seems like you took the post out of its context. My objective was to refute the "Java was invented so morons can code" argument.
            All of the other languages I cited were indeed made for different purposes, but they still exist because doing everything in C++ would be stupid.
            I agree that new, better alternatives have come since then, I even acknowledged it.
            >You want cross-platform networking? Go, Python, and sometimes Rust.
            I disagree on that though. Every company uses JS for that now (e.g. NodeJS), whether or not that's a good thing.
            >>Web technologies are the next step in cross-platform software
            >moron, it doesnt matter, it is not the discussion, and you are wrong.
            Except it was. The initial reply was that Java was made because of a need for cross-platform software. Now, every frontend is a Web browser application and the backend can be anything. JS, Go, Python, Java, Rust... What matters is that C/C++ is not here. Only Google, Microsoft, Apple engineers working on the browsers themselves (Chromium with Blink, Safari with WebKit, to a lesser extent Firefox with Gecko, maybe Servo in the future) write C/C++ code that matter at large scale for future applications. Same goes for the OSes themselves, except all end-users are on Windows/macOS/Android/iOS and Linux only matters for the backend in the great scheme of things.

          • 4 weeks ago
            Anonymous

            >My objective was to refute the "Java was invented so morons can code" argument.
            but it was. it is a fact. you had Perl/Python/other scripting language that you could use for cross-platform, the reason that Java was created was for managing business logic more conveniently than in C++.

            >Every company uses JS for that now (e.g. NodeJS)
            Not true, and node is popular due to the large amount of devs, and NOT ONLY due to how good the platform is.

          • 4 weeks ago
            Anonymous

            >managing business logic
            oh shit
            the discussion has reached meaningless jeetspeak level

        • 4 weeks ago
          Anonymous

          Nobody can use C++.

  35. 4 weeks ago
    Anonymous

    Because it's popular, which means it also attracts a large amount of morons
    Me, I don't particularly hate it, but I'm also a bit biased because it was the first language I learned. The forced OOP feels janky at times and managing dependencies is annoying (could be a skill issue though), but it's alright. I did switch over to C# a few years ago though, it's Java but better imo

  36. 4 weeks ago
    Anonymous

    I blame browser-based Java applets. Fricking awful pieces of shit those were.
    Remember when Runescape was a Java applet?

  37. 4 weeks ago
    Anonymous

    the language is alright to use but the fricking jvm...

    • 4 weeks ago
      Anonymous

      >the language is alright to use but the fricking jvm...
      no, you moron
      the virtual machine is the reason it became popular
      the language itself forces you to write everything as classes for no reason

  38. 4 weeks ago
    Anonymous

    I don't mind some OOP but holy shit they overdo it. Other than that I don't know, I don't use it much.

  39. 4 weeks ago
    Anonymous

    It uses a ton of ram.

    • 4 weeks ago
      Anonymous

      Source? Your task manager?

  40. 4 weeks ago
    Anonymous

    Java is for corporate bots. Real men use C++.

  41. 4 weeks ago
    Anonymous

    The JVM needs value types

  42. 4 weeks ago
    Anonymous

    No reason to use it when golang and c# exist. JVM is a slow ass pig.

    Also it's verbose as frick.

    • 4 weeks ago
      Anonymous

      You know that jvm is a lot more performant than go right? At least in number crunching tasks, thanks to jit

      • 4 weeks ago
        Anonymous

        Do you have any examples of that?
        I'd imagine Go would be faster in almost all cases because it is able to stack allocate way more.
        Maybe if you only use primitives in Java, but that is very limiting.

        • 4 weeks ago
          Anonymous

          https://github.com/gunnarmorling/1brc

    • 4 weeks ago
      Anonymous

      >No reason to use it when golang and c# exist. JVM is a slow ass pig.
      Lmao imagine actually believing this when C# doesn't have a low latency GC to this day https://github.com/dotnet/runtime/issues/65850#issuecomment-1050009662

      Even when it comes to throughput the CLR can't compete with the JVM outside of synthetic hardly manipulated benchmarks. The .NET team tried to cheat in Techempower benchmarks and even then they couldn't beat Java. You can check the latest benchmarks here https://tfb-status.techempower.com/

      https://www.techempower.com/benchmarks/#section=test&runid=87b8ce7c-b81d-40ba-ba60-83392e54d2cb&hw=ph&test=composite
      Java frameworks like Quarkus and Vertx absolutely obliterate .NET

  43. 4 weeks ago
    Anonymous

    indians

  44. 4 weeks ago
    Anonymous

    Is this still the case? I used Java recently for a Ghidra plugin and it was quite enjoyable.
    Java really used to suck during the 1.8 era though.

    • 4 weeks ago
      Anonymous

      >Java really used to suck during the 1.8 era though.
      that's pretty much the case, java sucked for so long that even though it's a reasonable language now it will never be able to get rid of that infamy. the same goes for spring, before springboot it was an absolute xml hellhole, why would anyone who's lived through that give it a second chance unless if forced to.

  45. 4 weeks ago
    Anonymous

    it's okay I really don't like that it's lacking nice features for a modern language just like parsing JSON in java is a giant pain in the ass and you gotta use json a lot if you want to get data from external sources

    • 4 weeks ago
      Anonymous

      >objectMapper.readValue(json, SomeClass.class
      What’s so painful about that?

  46. 4 weeks ago
    Anonymous

    it running in its own little space means you can program shitty spaghetti garnage code without worrying about taking out the system
    The lack of consequences thus only encourages absolute fricking dogshit code.and unlike python its users aren't anal about following a style guide so reading someone else's java code can be an absolute nightmare.

  47. 4 weeks ago
    Anonymous

    A jeet told me he found Kotlin too difficult

  48. 4 weeks ago
    Anonymous

    Everytime I tried java I hated it.

    Any suggestions for a language to learn if I already know c#?
    I tried go and there is something off about it that's stopping me from liking it.

  49. 4 weeks ago
    Anonymous

    It is disliked by people who do not program for a living

  50. 4 weeks ago
    Anonymous

    >b-but Scala is complicated!

  51. 4 weeks ago
    Anonymous

    redpill me on scala

    • 4 weeks ago
      Anonymous

      it's java for hipsters

    • 4 weeks ago
      Anonymous

      Extremely productive language if you're not falling for type systems like CE or ZIO.

    • 4 weeks ago
      Anonymous

      Ocaml for Java, like Rust/Swift/Kotlin take a lot from SML or Ocaml, but scala type system is more advance.
      Scala got two ideological problems
      Scala team pushing OOP + FP and creating implict as monkey patch total spaguetti code.
      Scala community push Scala as Haskell, Autism slow or impractical FP as more pure or better Scala version.
      Scala 3 remove implict and add more powerful type system.
      Another problems
      Slow compilation
      Slow startup times
      Memory hungry because special data structures
      Break changes from language or libraries
      But still years ahead on FP vs Rust/Kotlin/Swift and the main reason Scala data processing with Spark or create concurrency system.

      • 4 weeks ago
        Anonymous

        >Slow compilation
        That's bullshit.
        >Slow startup times
        Are you moronic? Scala doesn't start up any slower than other JVM applications. You're doing something wrong.
        >Memory hungry because special data structures
        "Special data structures". There's nothing special about them. They're just, if you chose to, monads just like Optional is and they are getting inlined nowadays, especially if you're using Graal.
        >Break changes from language or libraries
        Every library has changed to Scala 3. Cats, ZIO, akka (pekko now) etc..

        • 4 weeks ago
          Anonymous

          Sbt alone disproves all of your points

          • 4 weeks ago
            Anonymous

            >sbt
            How the frick is sbt relevant when it comes to startup time? Are you fricking stupid? In production you'll be shipping your application in a jar or as a jink/jpackage bundle. sbt is absolutely irrelevant here.

            Records are okay but very lackluster. No mutability makes them suck for quite a few use cases. Want to edit one field? Copy whole object again. They are tolerable but nothing on actually good languages.

            >mutation
            If you want to mutate your shit, why do you even fricking bother with getters/setters. People are autistic.

          • 4 weeks ago
            Anonymous

            >How the frick is sbt relevant
            I'm very sorry for shattering your worldview with a single Scala application
            >In production
            you're jobless lol
            >you'll be shipping your application in a jar or as a jink/jpackage
            >jink/jpackage
            and this is the evidence

          • 4 weeks ago
            Anonymous

            You haven't delivered a single argument. Explain to me how sbt is relevant in startup time. When you're developing, the sbt daemon runs and every time you run your shit it basically starts up instantly. When you're moving your application to a server, it's either in a jar or in some soft of a package. WHO THE FRICK runs his application in production with a build tool.
            You are by far, the gayest, most moronic and glowing n**gerhomosexual I have seen on this kyrgystani board.

          • 4 weeks ago
            Anonymous

            tl;dr
            stay mad

          • 4 weeks ago
            Anonymous

            >WHO THE FRICK runs his application in production with a build tool.
            not him (obviously), but I've seen it
            guy got fired at some point and I got in, had to clean up his mess

          • 4 weeks ago
            Anonymous

            >if you want to mutate why bother with setters
            How low iq are you? Setters are there to mutate.

  52. 4 weeks ago
    Anonymous

    Hello sars, do you know C# by any chance?

  53. 4 weeks ago
    Anonymous

    I don't primarily write Java, but my biggest dislike is how verbose and design oriented it has to be. Try writing good Java without using an IDE or looking up class references. Can you remember that class name called MyStupidDumbClassFromOldLibraryFactoryImplementationTest

    • 4 weeks ago
      Anonymous

      >I can't remember classnames so Java is bad

      • 4 weeks ago
        Anonymous

        >No one called Java bad but I have to farm (You)s

        • 4 weeks ago
          Anonymous

          You WILL like Java

    • 4 weeks ago
      Anonymous

      >Try writing good Java without using an IDE
      try doing electronics without a soldering iron or hot-air station
      try cooking soup without a heat source

      there is no virtue in being primitive with how you write code. you're only shooting yourself in the foot

      >Can you remember that class name called MyStupidDumbClassFromOldLibraryFactoryImplementationTest
      type "msdc" and hit auto-complete
      it's literally that fricking easy writing code in an IDE. you don't have to compromise readability for shorter writing, and the verbosity helps with readability (you don't have to "just know", guess or read up what some obscurely abbreivated variable or function means). but if you need a description what a class or method does, or how to use it anyway? just hover over it and get its documentation right there

    • 4 weeks ago
      Anonymous

      >Try writing good Java without using an IDE

      • 4 weeks ago
        Anonymous

        It's funny how they added modules which are completely useless because the IDE just imports everything you want with two steps. A good IDE and Java go hand in hand.

  54. 4 weeks ago
    Anonymous

    Tools are fricking archaic as frick. You ask gradle to build your shit, it'll start some kind of a nuclear launch sequence, shit out useless diarhoea into the console and run your program after 3 business days.

    • 4 weeks ago
      Anonymous

      solution: don't use fricking gradle

    • 4 weeks ago
      Anonymous

      >gradle
      androidjeets

      [...]

  55. 4 weeks ago
    Anonymous

    Because of shit licensing
    Oracle is a company that loves to sue anything under the sun
    You need an JRE
    Java is slow

    • 4 weeks ago
      Anonymous

      >Because of shit licensing
      What's wrong with OpenJDKs licensing? You can use it any way you want.
      >Oracle is a company that loves to sue anything under the sun
      Frick israelitegle (pic related)
      >You need an JRE
      No yo don't. You can generate a modularized JDK and package it with your application or compile to native.
      >Java is slow
      ok https://www.techempower.com/benchmarks/#section=test&runid=87b8ce7c-b81d-40ba-ba60-83392e54d2cb&hw=ph&test=composite

      • 4 weeks ago
        Anonymous

        JLink is shit and so is your opinion

        • 4 weeks ago
          Anonymous

          >JLink is shit
          Why is jlink shit?

        • 4 weeks ago
          Anonymous

          You don't even need jlink, you can just use jpackage.

  56. 4 weeks ago
    Anonymous

    I don't like the orange, red-ish color on its logo, installer and website. Literally looks like shit.

  57. 4 weeks ago
    Anonymous

    The language is basically fine. The syntax is pretty spot on.
    It's the software ecosystem around Java that is absolutely demented. All of that BeanFactoryAbstractFactoryBean shit is not a meme, it was real.
    A Java program, running on an single machine, was architected pretty similar to the way you'd do cloud microservices today, if you were really leaning heavy into the Java Enterprise Bean shit.
    Modern Spring is a little better, but it's still really a demented way to build software and extremely over complicated. Go really set the bar for how simple these things can be and Spring looks ridiculous in comparison.

    In a way Java made things too easy, because you didn't have to worry about memory management anymore. So people just went insane architecting monstrosities.

  58. 4 weeks ago
    Anonymous

    Me:
    Uses lots of memory

  59. 4 weeks ago
    Anonymous

    its slow

    • 4 weeks ago
      Anonymous

      that's a myth
      java minecraft has better performance than the c++ version

      • 4 weeks ago
        Anonymous

        >plays minecraft

  60. 4 weeks ago
    Anonymous

    mutation is evil, nulls are evil, ShittyEnterpriseNamingConventionsMakeYouThrowUpIRL

    • 4 weeks ago
      Anonymous

      that said, morons ITT didn't write a line of Java in a decade

    • 4 weeks ago
      Anonymous

      I don't like the fact that nulls exist in the language either, but optionals have a pretty good API honestly so once you wrap your initial nullable stuff in them it's smooth sailing from there on

      • 4 weeks ago
        Anonymous

        Optional<T> becomes a massive detriment to your code the moment some moron tries to use it as a class field or function parameter

      • 4 weeks ago
        Anonymous

        Optional<T> becomes a massive detriment to your code the moment some moron tries to use it as a class field or function parameter

        Yeah, Optionals are cool but I saw shit like nullable Optionals object fields.
        Most problems people have with Java are really about how the average programmer writes Java, it's not a moron-proof language at all.

        • 4 weeks ago
          Anonymous

          >I saw shit like nullable Optionals object fields
          I knew a guy with 10+ years of experience who went a step further and wrapped an Optional in a special-purpose 3-state class that was used absolutely everywhere to model missing, null and present JSON properties. Despite adding a massive amount of conditional logic, to him this (and like 12 DTOs accompanying it) was preferable to using JsonObject from JSON-P.

  61. 4 weeks ago
    Anonymous

    Sun let it stagnate for some time

  62. 4 weeks ago
    Anonymous

    I only use it for Minecraft server development

  63. 4 weeks ago
    Anonymous

    >Why is it so disliked?
    It's .POO trannies not getting over the fact that they will never be able to compete with the JVM

  64. 4 weeks ago
    Anonymous

    [...]

    I'd also like to know if the jvm is bad

    • 4 weeks ago
      Anonymous

      JVM is bad because Scala devs did something EXTREMELY moronic and tried to implement something other than Java on the JVM so it gained a reputation that JVM is fricking stupid and can't even handle tail calls so JVM is bad

      • 4 weeks ago
        Anonymous

        I agree that Scala devs are moronic for using the JVM instead of something like LLVM for their otherwise very nice language

        • 4 weeks ago
          Anonymous

          https://scala-native.org/en/stable/

      • 4 weeks ago
        Anonymous

        >JVM is fricking stupid and can't even handle tail calls
        What the frick no way this is true. Even the C# CLR can handle tail calls just fine.

  65. 4 weeks ago
    Anonymous

    I don't give a shit about java, but I like james gosling.

  66. 4 weeks ago
    Anonymous

    because it smells like shit
    it was cool when it was new tho

  67. 4 weeks ago
    Anonymous

    Too verbose, javafx looks like shit, jar files are shit it's just shit.

    • 4 weeks ago
      Anonymous

      >javafx looks like shit
      are you stupid? you can make it look any way you want.

  68. 4 weeks ago
    Anonymous

    When the JVM gets value types and enhanced generics, I'll be happy. Brian Goetz said it's really close but he's been saying this for years kek

  69. 4 weeks ago
    Anonymous

    It's way too verbose for no benefit. Any lang requiring you to type more text than C for the same functionality is just worthless

    • 4 weeks ago
      Anonymous

      >for no benefit
      readability is an extreme benefit

      >type more text
      use an IDE, shitter

  70. 4 weeks ago
    Anonymous

    Life is too fricking short to use this shit ass language, especially in the context of a shit ass corp with thousands of fricking pajeets whose frickups you have to endlessly fix

  71. 4 weeks ago
    Anonymous

    People ITT saying it would be better if Java were compiled into native are moronic or unemployed, every professional Java frameworks requires reflection and runtime code generation which couldn't be possible if compiled.

    • 4 weeks ago
      Anonymous

      You can create native high performance images anyway using GraalVM if you need high performance instead of portability.

      • 4 weeks ago
        Anonymous

        GraalVM being faster is a myth

    • 4 weeks ago
      Anonymous

      Java is compiled into native on OpenJDK it just isn't compiled AoT.

    • 4 weeks ago
      Anonymous

      >People ITT saying it would be better if Java were compiled into native
      Who says that? Java is a managed language, it doesn't make sense to compile it, unless it's JIT like the other anon claims.

      >reflection and runtime code generation which couldn't be possible if compiled.
      Why? Just because something is compiled doesn't mean it has to be like C and/or have minimal runtime.
      There is just no real need for Java to be compiled ahead of time. It's not what it was designed for.

  72. 4 weeks ago
    Anonymous

    Try C#, it's like java, but much better and without moronic things like the Integer class

    >inb4 dotnet shill
    Keep seething poojeet and explain to me how Java is better than C# (compare the latest versions) (not directed at OP, but at the Oracle employees)

    • 4 weeks ago
      Anonymous

      >explain to me how Java is better
      Java has proper pattern matching unlike C#
      Java doesn't have gay colored async/await and uses green threads instead
      Java performs better in real life (see techempower)
      Java has an ecosystem that doesn't depend on Oracle or Microsoft
      Java has tunable and deterministic low latency garbage collectors unlike C#
      Java has proper and battle tested cross platform GUI libraries. Avalonia is fricking gay XAML shit that is glitchy on Mac
      The JVM has Scala which mogs F# in every way
      The JVM has clojure
      The JVM has jetpack compose
      The JVM has GraalVM

      The ONLY thing C# has over Java are value types which will be a thing of the past with the release of Java 23 and hence the release of Java 24 preview. LINQ used to be better but not anymore because of gatherers. C# used to have better interop but not anymore because of Javas new FFI. Also Graal Native is years ahead of .NETs AOT shit.

      • 4 weeks ago
        Anonymous

        >Java has proper and battle tested cross platform GUI libraries.
        I'm a paid Oracle shill and even I don't agree with this, Swing hasn't ever been proper, It wasn't designed to be used outside of restricted low-powered devices and JavaFX is on life support. Compose Multiplatform isn't viable right now and I'm doubtful if it'll ever be.

        • 4 weeks ago
          Anonymous

          >JavaFX is on life support
          ?? Works fine for me and it's still being maintained.

          • 4 weeks ago
            Anonymous

            *and on top of it it works with Graal Native.

          • 4 weeks ago
            Anonymous

            The problem is people are fricking morons. They think JavaFX was abandoned because it was removed from the JDK due to project Jigsaw. It was good for JavaFX because now it doesn't depend on the JDK release cycle anymore.

        • 4 weeks ago
          Anonymous

          >Swing hasn't ever been proper
          Eh? All Jetbrains IDEs run on it.

          • 4 weeks ago
            Anonymous

            I heard they had to wrangle the shit out of it to make it work nice, though

  73. 4 weeks ago
    Anonymous

    I love Kotliiiiin

  74. 4 weeks ago
    Anonymous

    it's been obsolete for 20 years

    • 4 weeks ago
      Anonymous

      And yet it hasn't been able to overtake Java, despite all its woke marketing efforts.

      • 4 weeks ago
        Anonymous

        how does this make you feel? :^)

        • 4 weeks ago
          Anonymous

          makes me feel like I'm talking to a shill

          • 4 weeks ago
            Anonymous

            absolutely seething

          • 4 weeks ago
            Anonymous

            malding

            tooth grinding

            guys, no need to self-report

          • 4 weeks ago
            Anonymous

            malding

          • 4 weeks ago
            Anonymous

            tooth grinding

          • 4 weeks ago
            Anonymous

            >TIOBE Index
            KEK
            https://madnight.github.io/githut/#/pull_requests/2024/1

          • 4 weeks ago
            Anonymous

            https://pypl.github.io/PYPL.html

        • 4 weeks ago
          Anonymous

          I guess scratch and fortran are becoming 2nd and 3rd most popular languages now

          • 4 weeks ago
            Anonymous

            >coping

  75. 4 weeks ago
    Anonymous

    Java is so irrelevant that Microsoft has its own distribution of the JDK

    https://www.microsoft.com/openjdk

    It's so irrelevant that Microsoft has its own Youtube channel for Java

    https://www.youtube.com/@JavaAtMicrosoft

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