this post was submitted on 31 May 2025
77 points (94.3% liked)

Programming

20463 readers
104 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 2 days ago (1 children)

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.

[–] [email protected] 11 points 2 days ago (1 children)

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 5 points 2 days ago (1 children)

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.

[–] [email protected] 5 points 1 day ago (1 children)

Have you heard about uv? I'm loving it.

[–] PolarKraken 1 points 18 hours ago (2 children)

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?

[–] [email protected] 2 points 8 hours 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.