• ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    1 month ago

    What I like about java is it’s consistency. It’s not a great language but it’s a solid tool. It’s no trying to do anything brave, just steadily moves in the right direction.

    Python is the exact opposite. There are at least 3 competing tools for everything, multiple ways to install packages, python 3 is not backwards compatible. Just setting up the environment is needlessly painful. It’s not a bad language but a terrible tool.

    • chrismit3s@feddit.org
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      1 month ago

      Saying that about python, has one package index and a unified way of specifying dependencies, compared to Java, which has both Maven and Gradle, is quite funny imo.

      Also in my experience, setting up the average python project with numpy, requests and pytest is way easier then setting up a java project with JUnit, etc…

      • PolarKraken@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        Yeah, not trying to dunk on other commenter, but these don’t sound like complaints I experience with Python at all. Setting up the environment is a breeze with venv, package installation couldn’t be easier with basic pip, and I really like having a diverse ecosystem of multiple (often high quality) approaches to solving similar problems.

          • PolarKraken@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            Yeah I’ve been hearing about it and meaning to dive in. Been learning some infra stuff lately though.

            Any particularly strong selling points you want to convey?

            • arthur@lemmy.zip
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 month ago

              It uses the same philosophy of cargo.toml files in Rust projects, where you have all dependencies and versions listed. It’s quite fast, and you can use it to install python cli tools without change your base installation. It’s the best of venv and pipx and more, IMHO.

  • rekabis@lemmy.ca
    link
    fedilink
    arrow-up
    11
    arrow-down
    3
    ·
    edit-2
    1 month ago

    What I find incredible is just how slow-moving and cruft-filled it has become.

    For example, DotNet has had string interpolation since C# 6, back in 2015. That’s a decade, already.

    Java recently yoinked their implementation because they just couldn’t make it work.

    That’s damning.

    Right now - ignoring the wider ecosystem and looking purely at the core language - I am seeing the very latest LTR version of Java as being on-par with C# pre-2010 in terms of continual material improvements and ease of use.

    Yikes.

    I still use Java, but… yikes.

    • pohart@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      It wasn’t at all that they couldn’t make it work. They decided that their implementation was too cumbersome to use, so they’re reworking it

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 month ago

    JVM and Android dalvik ART are still alive and well because if we could use clown circus Javascript to run WWW for 30 years, we sure as hell can use “My Big Fat Gabrage Collector: The Boilerplate Saga” to run all of our applications and backend infrastructure.

      • bradboimler@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        1 month ago

        Honestly, why? The ecosystem is rich and developed. Libraries for everything. Great documentation. Fantastic tooling. What am I missing out on?

        • XM34@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          3
          ·
          1 month ago

          Pretty much everything you just noted is incorrect! The ecosystem is a giant cestpool of badly written annotation hell, there is no usable documentation whatsoever, The tooling makes the experience barely better than living hell and writing Java feels like doing things worse than any other programming language out there because the language devs have severe C++ PTSD and refuse any useful programming concept from that language outright!