• @nasi_goreng@lemmy.zip
    link
    fedilink
    English
    483 days ago

    Lol, as Javanese, It’s funny that Javanese ethnic name -> Javanese coffee -> Javanese programming language.

    People still keep thinking that I was a programmer or making a typo of Japanese everytime I mention I speak Javanese.

      • @BoycottPro@lemm.ee
        link
        fedilink
        English
        16
        edit-2
        2 days ago

        His political contributions are really on brand. He funded election deniers in 2022.

        Also I’ve heard Oracle has a bad reputation when it comes to government contracts, very expensive poor quality software ripping off our taxpayers. I think they ought to be blacklisted or at-least require extra review due to their reputation. CUNY paid Oracle over $600 million and look at what that got them: https://pscbc.blogspot.com/2013/03/cuny-first-computer-system-to-aid.html. To be fair the article does claim that “The project required an expenditure of up to a billion dollars to do it right. CUNY Central offered far less. All but one of the bidders dropped out as a result”. I’m confused why it needs to be so expensive, even $600 million seems like way too much.

      • @kirk781@discuss.tchncs.deOP
        link
        fedilink
        English
        63 days ago

        Lary Ellison is one of the richest men in the world right and owns some kind of private island or something that he bought basically after showing his shares of Oracle stock?

  • @Zenith@lemm.ee
    link
    fedilink
    English
    52 days ago

    This dude came to my spouses work to do some sort of work/help (I don’t know the exact details) and someone wrote a doc he needed to review. It was a lot of work not just like a few notes but a proper doc and all he wrote back upon “reviewing” it was a thumbs up emoji!! 👍🏻 everyone was shocked lol, no feed back, no notes nothing just 👍🏻

  • @wolf@lemmy.zip
    link
    fedilink
    English
    423 days ago

    Java is IMHO one of the most underrated platforms outside of enterprise environments.

    Most people also forget, that Java is not only a language, but also a platform, an ecosystem and active research is applied to many parts of Java.

    Concerning Oracle: OpenJDK is actively supported by very different but big and capable companies (IBM, Amazon, Eclipse Foundation…). The quality of the language, libraries and documentation needs people which are payed to work on this, full time.

    Bring to this the free IDEs one can get for Java - Eclipse and Netbeans are a little bit old school, but offer everything to build/debug and develop complex software.

    Java is not my favorite programming language, but when I want to write interesting software and ensure it will be running for the next decade w/o significant changes, Java is really hard to beat.

    Of course, in hindsight we know how to do a lot of things better as they were done in Java. Still, what other open source Language/Platform/documentation with the backing of capable companies and really independent and interoperable builds are out there?

    One last note to all people which were damaged by Java in university or school: Usually the teachers/professors/lecturers have no real world experience of software development besides the usually university projects, and for the usual university projects which basically means getting small to midsize projects to run Java is total overkill.

    Don’t confuse this with real world software projects in the industry, which are mission critical and need to work a decade from now on. Java was always a bread and butter language, but one which learned from other languages and even the verbosity makes sense, once one dives into code written a few years back by another person.

    • @KeenFlame@feddit.nu
      link
      fedilink
      English
      122 hours ago

      My 2 cents is that it would have flourished a lot longer if eclipse wasn’t stretched so thin like using a very thick amorphous log that is somehow still brittle? And ugly? As a bookmark.

    • magic_lobster_party
      link
      fedilink
      82 days ago

      Usually the teachers/professors/lecturers have no real world experience of software development besides the usually university projects

      Adding to this: university projects are built on a relatively short timeframe compared to many industry projects. The growing pains that typically occur after a few years of continuous development is unlikely with the small scale of university projects.

      I wouldn’t go to a university professor for advice on how to build a system that will last a decade of development.

  • @kirk781@discuss.tchncs.deOP
    link
    fedilink
    English
    693 days ago

    Java was also my first introduction to programming as it was included in Computer Science in final year of school (at college, we did the trusty C).

    I think they have replaced Java with Python now in schools because of the latter’s popularity and also because many would argue, Python is slightly easier to learn than Java.

    • @kescusay@lemmy.world
      link
      fedilink
      English
      673 days ago

      Python is easy, but it can also be infuriating. Every time I use it, I’m reminded how much I loathe the use of whitespace to define blocks, and I really miss the straightforward type annotations of strong, non-dynamically typed languages.

        • @kescusay@lemmy.world
          link
          fedilink
          English
          83 days ago

          Oh, I know you can, but it’s optional and the syntax is kind of weird. I prefer languages that are strongly typed from the ground up and enforce it.

          • @sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            32 days ago

            Python is strongly typed, it’s just not statically typed. Python with consistent type hinting is extremely similar to a statically typed language like C#.

            • @kescusay@lemmy.world
              link
              fedilink
              English
              22 days ago

              I would argue that without consistent and enforced type hinting, dynamically typed languages offer very little benefit from type-checking at runtime. And with consistent, enforced type hinting, they might as well be considered actual statically typed languages.

              Don’t get me wrong, that’s a good thing. Properly configured Python development environments basically give you both, even if I’m not a fan of the syntax.

              • @sugar_in_your_tea@sh.itjust.works
                link
                fedilink
                English
                12 days ago

                What’s wrong with the syntax? It’s just var_name: Type = value, it’s very similar to Go or Rust. Things get a little wonky with generics (list[Type] or dict[Type]), but it’s still similar to other languages.

                One nice thing about it being runtime checked is you can accept union types, def func(param: int | float), which isn’t very common in statically typed languages.

    • @gravitas_deficiency@sh.itjust.works
      link
      fedilink
      English
      313 days ago

      I don’t think weakly- or dynamically-typed languages are a good thing to base computer science curriculum around. Yes, it’s “easier”. But you will genuinely have a FAR better understanding the language and the logic you’re writing in it if you work in the scope of strong and static typing - or, at least have linters that force you to (e.g. mypy for Python)

    • @padge@lemmy.zip
      link
      fedilink
      English
      133 days ago

      The argument I agree with is that Python is the best language to learn if it’s your only language, and Java is the best first language if you’re going to learn others. The syntax from Java is shared across so many other languages and it forces you to learn about things like objects and types. You could make an argument for C or C++ but Java’s handholding is more beginner friendly imo

    • @MolecularCactus1324@lemmy.world
      link
      fedilink
      English
      11
      edit-2
      3 days ago

      I learned C++ as my first language and it was a great way to understand the core issues of a programming language — like memory allocation, memory freeing, the difference between memory addresses and the memory contents themselves, threads, system calls, etc. Java obscures these nuances to a degree, but Python is too friendly and makes it hard to understand them at all.

      I believe if you learn C++ you can easily learn any other language. After C++, I learned Python, JavaScript, and Java in a few days each without formal instruction. If you learn Python first, you’re probably going to struggle learning those other languages because you haven’t grasped the lower level concepts yet and may never if you’re not in a formal setting that forced you to learn them.

      No one disagrees that Python is easier, but if your goal is to get a foundation in programming that allows you to easily pick up other languages, you should start with C++.

      • @pycorax@lemmy.world
        link
        fedilink
        English
        32 days ago

        Imo people should start with C first since it is a lot simpler than C++ while still providing a lot of what you mentioned. C++ adds a lot of things like name mangling, templates, L & R value references that can quickly make things a bit more daunting for beginners.

        I also generally find error messages for C a lot more parsable for beginners than C++ ones.

        • @MolecularCactus1324@lemmy.world
          link
          fedilink
          English
          1
          edit-2
          2 days ago

          C++ has classes though and if you start with C and then try to go to other Object-oriented languages you’ll be a little lost. But, by learning C++ first, you’re pretty much learning C at the same time, you just need to avoid using classes.

    • @chakan2@lemmy.world
      link
      fedilink
      English
      93 days ago

      They did, but it makes me sad. Python is becoming the next JavaScript because of its ease of use.

      The Java guys simply don’t understand how to code without the gang of 4 crutch to lean on.

      • @jenesaisquoi@feddit.org
        link
        fedilink
        English
        22 days ago

        Not true. They use the same model, executing compiled bytecode. It just feels like directly running a script because Python compiles it to bytecode on the fly, and because it is embarrassingly slow.

    • @MrRazamataz@lemmy.razbot.xyz
      link
      fedilink
      English
      23 days ago

      In a first year computer science course at uni I can say they teach us Python, Java, and C, all with slightly different use cases.

  • zout
    link
    fedilink
    503 days ago

    I remember Java being seen as the best thing ever in the 90’s, and it was considered “cool” at that time. So cool even, that it became the programming equivalent of a hammer, every coding challenge looked like a nail for which you could use it.

  • @YurkshireLad@lemmy.ca
    link
    fedilink
    English
    133 days ago

    I think Java was first released just after I graduated. I do program Java at my day job though, and I don’t mind it. It has its quirks but I find I can express myself using Java, but I probably try to think towards much in OO paradigms when I design and code.

  • @neidu3@sh.itjust.works
    link
    fedilink
    English
    21
    edit-2
    3 days ago

    I liked Java a lot more before Oracle acquired Sun. I’ve used Oracle databases enough to hate Oracle with the passion of a supernova.

    • @deathmetal27@lemmy.world
      link
      fedilink
      English
      172 days ago

      I think I need to clear a common misconception people seem to have here: Oracle has very little to do with Java.

      At most, Oracle has the following connection to Java:

      • Own the trademark
      • Have a build of the JDK/JRE with commercial support.

      However, Java as a language’s baseline comes from OpenJDK, an open source (GPL 2.0) community project which is upstream to several builds including Oracle’s JVM. It follows a “bazaar” like development model similar to the Linux kernel where you can see their mailing lists and track what’s being worked on. Anyone can contribute and the code is on Github: https://github.com/openjdk/jdk.

      That being said, you don’t even need to use Oracle’s JDK (it sucks IMO) and use one of the community provided builds of OpenJDK. OpenJDK builds are provided by Eclipse, Amazon, Azul, Bellsoft and even Microsoft provides JDK/JRE builds. These are free of cost and have longer term support than Oracle’s offering.

    • @sik0fewl@lemmy.ca
      link
      fedilink
      English
      23 days ago

      Java was stagnating under Sun, unfortunately. I hate to say it, but Oracle probably saved Java.

  • who
    link
    fedilink
    English
    20
    edit-2
    3 days ago

    I attribute Java’s uptake to a large amount of marketing and support, which led to a massive ecosystem. Even a mediocre language like this one can find success when propped up like that.

    • @PushButton@lemmy.world
      link
      fedilink
      English
      62 days ago

      I am going to be decapitated for this, but you’re totally right.

      You only have to look at Rust. An horrible language with a massive hype machine and an army of zealots pushing it everywhere.

      I can’t understand how people are complaining about the java boiler plate and its verbosity, while promoting Rust every time they can.

    • magic_lobster_party
      link
      fedilink
      203 days ago

      OOP was hype during the 90s. Schools adapted their curriculum to this trend. So they needed a programming language for this, and Java became the choice. C++ is too tricky as a first language.

      The result is that a lot of people knew Java, which means it’s a good choice of language if you want to recruit programmers.

      I believe most of Java’s success was luck. It released at the perfect time.

    • @hex123456@sh.itjust.works
      link
      fedilink
      English
      153 days ago

      Java was the new hotness when I was in the middle of my comp sci degree. The biggest benefit I found was javadocs. Other languages had shit documentation that usually didn’t match reality in comparison.

      • @pinball_wizard@lemmy.zip
        link
        fedilink
        English
        1
        edit-2
        2 days ago

        Yes. JavaDoc was/is good.

        There, I said something nice about Java. I’m giving myself a gold star, and going to stop typing.

  • _NetNomad
    link
    fedilink
    223 days ago

    Unlike other older languages, such as Cobol and Fortran – which are still used, but almost always in legacy projects – Java has constantly evolved to meet new demands while maintaining backward compatibility.

    can’t speak on the FORTRAN claim but with COBOL this couldn’t be less true. last i checked the newest Enterprise COBOL LTS is newer than Java’s

    • @1rre@discuss.tchncs.de
      link
      fedilink
      English
      113 days ago

      The difference is people still write Java, regardless of whether it’s a dated pos or not, so the use cases have evolved

      Then there’s the use of the JVM/JRE which have evolved even more due to Scala, Clojure & Kotlin

      • _NetNomad
        link
        fedilink
        63 days ago

        COBOL is still being updated because, believe it or not, people are still writing COBOL

        • magic_lobster_party
          link
          fedilink
          123 days ago

          People aren’t writing new projects in COBOL. It’s mostly to maintain 40+ year old systems. Unless you’re working in the bank sector, it’s unlikely you will write a program in COBOL.

      • @Enkimaru@lemmy.world
        link
        fedilink
        English
        12 days ago

        Then it would not be constantly evolving with more than a new release per year. Do you know anything about gigantic Java ecosystem? Guessed so …

        • @taladar@sh.itjust.works
          link
          fedilink
          English
          12 days ago

          Yeah, I know that the vast majority of Java applications out there are stuck on ancient versions of the JVM and spew back traces in their logs as if they bought them in bulk.

  • @chronicledmonocle@lemmy.world
    link
    fedilink
    English
    253 days ago

    A language I wish would die already, but there are still vendors that program in it, along with freaking Tomcat hosted applications. EduTech is still stuffed to the gills with it.

  • @gamer@lemm.ee
    link
    fedilink
    English
    93 days ago

    I used Java years ago for Android dev, but stopped when I stopped doing that. Every once in a while I’ll get the itch to work on a new project, and always wonder if Java would be a good idea.

    My hesitance is that I don’t trust Oracle (and don’t know to what extent they’re involved nowadays), I’m not familiar enough with the ecosystem to know what is legacy crap to avoid, and I think it’s generally seen as an uncool language, and I’m way too cool to be taking such risks.

  • @ferrule@sh.itjust.works
    link
    fedilink
    English
    63 days ago

    java was my 5th language, having just missed it as the AP CS language in highschool by a year. oddly i could not get behind such a massive standard library having come from BASIC, Pascal C++, ASM, VHDL. now after 30 years of programing i write Java web services for a living. feels strange.

    • @kirk781@discuss.tchncs.deOP
      link
      fedilink
      English
      13 days ago

      Oddly, I did know some BASIC and I have vague memories of the numeric line starters like 10 with white text on a black background giving it a retro feel.