News for hackers. Stuff that matters.
Re:“I am literally losing sleep” over Java (1996) by whimsicalism on Thursday January 06, 2022 @09:52AM (#29824194)
For very complex business logic backend/middleware, who is beating Java?

Only contenders I can think of are C# or Go.

Re:“I am literally losing sleep” over Java (1996) by jpgvm on Thursday January 06, 2022 @10:23AM (#29824651)
C# isn't, it's highly successful but locked into one ecosystem. .NET Core is very new (by enterprise standards) and hasn't yet had time to supplant usecases for Java.

Go is even newer and even less successful vs Java.

Firstly it's awful in large business logic heavy programs. It's getting better with generics but it's error handling and module structure mean it's very ill-suited to the sort of software Java thrives in.

I think the only real competitor to Java (both on Android and backend/desktop) is Kotlin.

Re:“I am literally losing sleep” over Java (1996) by vel0city on Thursday January 06, 2022 @11:54AM (#29826034)
FWIW, there is no ".NET Core" anymore. Now its all just ".NET", whether or not you're running it on Windows or Linux. Theoretically its all just the same from the application's perspective, there's no separate toolchain or library.
Re:“I am literally losing sleep” over Java (1996) by jpgvm on Thursday January 06, 2022 @07:18PM (#29832755)
While that might be true now enterprise is still running stuff on .NET 2.X and .NET 4.X is still dominant overall.

It will be years until enterprise shops are caught up to where .NET is atm, that is just the way of things.

FWIW it's not much better in Java-land. Most enterprise shops have apps they refuse to invest in upgrading off of Java 6. Java 8 still has huge share though thankfully in the last few years Java 11 is catching on.

I like Java and C# a lot, they appeal to me above the rest of the langs for practical reasons but I don't miss distancing myself from actual enterprise development - that is where passion goes to die.

Re:“I am literally losing sleep” over Java (1996) by nudpiedo on Thursday January 06, 2022 @03:37PM (#29829736)
I used to think like that just to realize that the main two variables to guess the language a project got started are the industry and the year the coding began.

For example, projects that got started 10 years ago are very likely to have got in Java started (as it still even was the main programming language teacher at universities.)

New projects are more likely to get started in python, typescript, go or even c++ just depending the industry. It’s been a while since I do not see a new brand project starting in Java.

Someone may dismiss my opinion with a statistic, and it will also be fine. I don’t think Java did endanger Microsoft,