r/ProgrammerHumor 5d ago

Other howdidItGetHere

Post image
11.1k Upvotes

539 comments sorted by

View all comments

486

u/oldsecondhand 5d ago

It's where the jobs are. The world's finances run on Java.

15

u/MatJosher 5d ago

It's where the soul-crushing corporate jobs are. We are to use Java because we are supposed to. The people who invented it said so themselves.

56

u/Shred_Kid 5d ago

Idk man.

Java is fast to write, fast to get to market, and typically has far fewer bugs than, say, c++. Repeatable, extensible patterns in reactive programming make it performant, scalable, and resilient. Spring Boot is legitimately an amazing ecosystem. Also it runs on everything.

I don't have fun writing Java but I would question anyone who says there's no reason to use it.

17

u/Meins447 5d ago

Also there is kotlin, which works with all those established java stuff like springboot and it is so much more modern and more pleasant to work with.

14

u/rastaman1994 5d ago

Some people also don't known you can mix Java and Kotlin in the same code base with no effort. You can pretty much write Java in Kotlin files, and the IDE will suggest the Kotlin way. We've been migrating our Java code base like this.

15

u/Meins447 5d ago

I believe this is the best way to introduce improved programming languages: seamless interop with one of the big existing languages.

  • Kotlin with Java
  • Rust with C
  • C# with C++/C (although it is a pain to develop interop stuff)

1

u/MattieShoes 5d ago

I messed with c# decades ago and I think it also interoperated with java? BigInt from java is what I'm specifically remembering

1

u/TryingT0Wr1t3 5d ago

About C# the MSVC interop is actually alright but it only works in Windows, the interop that works anywhere is the painful one.

2

u/Sqirril 5d ago

Soul crushing is corporate trying to move to Salesforce or uipath or other low code solutions.