• ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    4 days 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
      ·
      3 days 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
        ·
        3 days 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
            ·
            2 days 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 day 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.