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.
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…
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 basicpip
, and I really like having a diverse ecosystem of multiple (often high quality) approaches to solving similar problems.Have you heard about
uv
? I’m loving it.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?
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.
deleted by creator
Java is a powerhouse of the
cellglobal.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.
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
JVM and Android
dalvikART 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.I love Java and it remains my programming language of choice
You poor fool
Honestly, why? The ecosystem is rich and developed. Libraries for everything. Great documentation. Fantastic tooling. What am I missing out on?
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!