this post was submitted on 14 Mar 2025
22 points (92.3% liked)

Programming

18893 readers
338 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Funny story, friend and I were just talking last night about how Java 8 is still used everywhere.

top 8 comments
sorted by: hot top controversial new old
[–] KaladinStormblessed@lemm.ee 2 points 56 minutes ago (1 children)

I feel like this article was written by an llm? The way it skips around and makes unnecessary comparisons to JavaScript, the jump from the very beginning to very recent changes, it's all just weird. It feels like it's saying nothing but talking a lot

[–] tonytins@pawb.social 1 points 46 minutes ago

Knowing Microsoft's AI obsession, I wouldn't be surprised if it is.

[–] GissaMittJobb@lemmy.ml 10 points 5 hours ago (1 children)

Moving to Kotlin taught me to appreciate the underlying fundamentals in the JVM and the patterns present in Java.

I'd rather not use Java today, though. Kotlin is basically Java but with the best practices enabled by default and the bad parts made impossible at a language level.

[–] abbadon420@lemm.ee 2 points 4 hours ago (2 children)

I need to know more. What are the bad parts that are disabled? Which best parties are enabled at the language level?

[–] schnurrito@discuss.tchncs.de 2 points 4 hours ago

null safety, to my understanding

[–] tonytins@pawb.social 0 points 4 hours ago* (last edited 4 hours ago)

For one thing, the file and class name must be the same. While it is good practice, making it mandatory requirement limits flexibility.

[–] cool@lemmings.world -3 points 4 hours ago (1 children)

After using Rust, I struggle to find a use-case for Java.

We have Python for the bad programmers.

[–] jecxjo@midwest.social 2 points 1 hour ago

As a programming language polyglot, currently using Java for backend services, one of the biggest reasons to use Java is due to the ecosystem. Hardened libraries for web frameworks and everything else under the sun means you have confidence in the language. You have millions of instances running in the wild so detection of issues are found and resolved quickly, corporations backing security audits and a lot of funding to make really good libraries.

I hate the language itself and would never choose it as a language for a hobby project, but i completely understand why Java exists and thrives.