• who@feddit.org
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    23 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.

    • magic_lobster_party@fedia.io
      link
      fedilink
      arrow-up
      15
      ·
      23 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.

        • jenesaisquoi@feddit.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          22 days ago

          Many people increasingly find that using functional patterns enables them to build more reliable software.

        • magic_lobster_party@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          22 days ago

          I don’t think OOP is as bad as many people make it out to be. It’s perfectly fine in moderation.

          The problem is that it can lead to over engineered applications when abused.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        22 days ago

        You don’t think the $500 million marketing budget Sun put towards Java has anything to do with its success? It was more than just luck.

        • magic_lobster_party@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          22 days ago

          I don’t think the $500 million marketing budget would’ve worked if Java was introduced at a time other than the 90s.

          The 80s would’ve been too early. It would just turn into a parenthesis in programming language history (next to smalltalk). The 00s would’ve been too late. It would’ve missed the dotcom bubble boat. Java came in the right time to become a dominant programming language.

          I’m not saying the marketing didn’t have any influence. It probably had an big influence in which OOP language was selected for computer science education.

    • hex123456@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      9
      ·
      23 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.

    • rottingleaf@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      22 days ago

      JVM isn’t mediocre. Really-really.

      I don’t like something aesthetically about Java, can’t quite nail what, and don’t like long-long namespace strings, but these are my personal limitations.

      Ah. I also don’t like OOP.

    • PushButton@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      3
      ·
      22 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.