this post was submitted on 31 May 2025
341 points (96.2% liked)

Technology

73534 readers
2480 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] zout@fedia.io 47 points 2 months ago (20 children)

I remember Java being seen as the best thing ever in the 90's, and it was considered "cool" at that time. So cool even, that it became the programming equivalent of a hammer, every coding challenge looked like a nail for which you could use it.

[–] dustyData@lemmy.world 43 points 2 months ago (19 children)

It's a cycle all popular languages go through. First only experimental applications and super opinionated programmers use it. Then everyone wants to use it for everything. Then it finds a niche where it excels and settles.

I remember Java, C++, Python, and JavaScript going through those phases as well. Currently, everything is Rust.

[–] sugar_in_your_tea@sh.itjust.works 12 points 2 months ago (11 children)

I'm still wondering what Java's niche is, it seems like it does everything, but nothing particularly well. I guess it found a home on Android, but I don't think that's because it's particularly well-suited for it.

[–] vinnymac@lemmy.world 3 points 2 months ago* (last edited 2 months ago) (1 children)

Show me an Android app written in Java, and I’ll show you the line of developers ready to rewrite it in Kotlin.

[–] sugar_in_your_tea@sh.itjust.works 1 points 2 months ago (1 children)

Sure, and Kotlin is largely syntax sugar for Java. It's certainly nicer, but the semantics are largely the same.

[–] vinnymac@lemmy.world 1 points 2 months ago (1 children)

You must not write much Kotlin then? It’s far more than sugar when a language fixes core issues in another.

It’s a modern, statically typed language that addresses many of Java’s longstanding limitations with robust type safety, expressive functional features, coroutine-based concurrency, and extensibility — all integrated natively. Interoperability with Java is a strength, not a sign of dependency.

Calling Kotlin merely syntactic sugar is like saying Swift is just Objective-C with prettier syntax — it misses the deep improvements in language design, safety, and developer experience.

I've written a fair amount, enough to know it's a significant improvement on Java, but that it still suffers from the unnecessary abstraction in the standard library. And that's pretty much my main problem with Java.

Swift is a different story because the main issue with Objective C is the syntax.

load more comments (9 replies)
load more comments (16 replies)
load more comments (16 replies)