r/programming • • Mar 07 '24

"Java is here to stay": Popular programming language to remain on business hit lists in 2024

https://www.itpro.com/software/development/java-is-here-to-stay-popular-programming-language-to-remain-on-business-hit-lists-in-2024
994 Upvotes

577 comments sorted by

View all comments

Show parent comments

53

u/ascii Mar 07 '24

Java isn't even that old tech anymore. With a well designed lambda syntax, type inference, pattern matching, sum types, and decent APIs for functional programming, Java has become a pretty OK language.

30

u/ArcanePariah Mar 07 '24

While true, quite a few of the enterprise stuff is slow as hell to change, most of it is still back on java 7/8/11. At least 8 has some of the functional stuff.

15

u/thisisjustascreename Mar 08 '24

We're getting forcibly kicked off Java 11 this year because our internal Spring Boot wrapper framework is ending support for 2.7, and I'm totally in favor of it.

1

u/Volemic Mar 17 '24

Nothing like a wrapper which is a pain half of the time (looking at you, Moneta).

6

u/_Stego27 Mar 07 '24

Luckily it seems once they get over the hurdle of migrating from 8, the migration to 17/21 is a lot less painful.

5

u/LogMasterd Mar 08 '24

Isn’t it really fast these days too?

0

u/[deleted] Mar 08 '24

[deleted]

1

u/[deleted] Mar 08 '24

And start up time may be reduced significantly by using quarkus/graalvm

1

u/xeenop Mar 18 '24

More like Graalvm's native image capabilities only, a lot of other frameworks other than Quarkus can be used in this regard and it's not really deterministic for the start up time(example Micronaut). But then using the native image comes with tradeoffs

10

u/Chris_Codes Mar 07 '24

Almost as good as C#! ducks

0

u/[deleted] Mar 08 '24

[deleted]

1

u/jvjupiter Mar 08 '24

You will switch again once you find another beautiful language, something businesses rarely do, if not at all.

1

u/myringotomy Mar 09 '24

If you want less verbose just use kotlin or groovy or something like that.

0

u/[deleted] Mar 09 '24

[deleted]

2

u/myringotomy Mar 09 '24

Why not use F# at that rate. Just a different jvm language.

Because you don't want to program in a functional language and because the investment of Microsoft on the JVM is non existent while the investment of jetbrains and google are massive.

MS has done the opposite of Oracle when it comes to C# and open-source it whereas oracle has done the exact opposite. T

The JVM is fully open sourced. I have no fucking idea what you are talking about https://openjdk.org/

There are so many different jdks it's hard to figure out what's what.

There is the openJDK. if you want to pay for support or whatever you can choose a commercial version from IBM or Oracle or whatever. This might be a very difficult and confusing concept for people who are not familiar with the open source ecosystem but I assure you it's extremely common.

In .net there is one and only one. (mono went by the wayside since core)

I didn't realize they killed the mono project and it was not being developed anymore. When did this happen?

0

u/Degerada Mar 08 '24

Have you tried Java 21? In what way is that verbose?