![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
No offense but I have never seen a good developer complain about java.
No offense but I have never seen a good developer complain about java.
You will just switch to one of the openjdk implementations
What an ignorant take, lmao
So, to my example of critical, important infrastructure of government and banking running on Java, your reply is, youtube and instagram.
That’s lit mate, no cap, frfr. (Sorry I am not that familiar with your gen’s slang)
No, it’s a script
How is it not relevant? This is my comment you are replying to
It’s not a fad, it’s just unusable for anything other than research project and small time scripting, which to be fair, it’s what it’s designed for.
Yeah calculations, not actual software… how is this hard to understand… you don’t write long lived, stable software that multiple developers work on that needs to do real work in python
If you dont know the difference between software and script I am not sure I can explain it to you…
With how shit youtube is I am not sure you made a great case for python mate.
And every major tech company is using Python in their offline data pipelines
Thats a meaningless statement, ETL tools can execute python as part of a multi step process and then yeah they use python in their data pipeline, but the ETL tool that orchestrates it is which is the actual value add software is not written in Python it’s written in Java, I know this for a fact…
So it was Kotlin before Kotlin
“Strong”… how many actual projects run on python?
Half of the internet ( backend) runs on java, banking, your government systems, etc.
It’s not a fad, it’s just unusable for anything other than research project and small time scripting, which to be fair, it’s what it’s designed for.
Not sure we should be doing IQ test for Police officers, EQ would be much more important, you’d rather have a slightly less intelligent police officer who tries to relate to you rather than an intelligent quasi sociopath happy to unload their magazine into you at first sign of trouble, wouldn’t you?
Pretty sure IQ testing has a racist origin anyway, so let’s just leave it behind
I think you will find that the biggest reason to use a language is to get paid for it and there Java is very well positioned
I am not writing it off, I am saying it has no competition in the browser… therefore irrelevant to the discussion at hand.
and btw, even in the link https://madnight.github.io/githut/#/pull_requests/2023/4 Javascript is not first, Python is, over Java.
but once again, you would actually have to look for the backed JS applications, you are not choosing java over JS for the web, at best you would choose JSF and that still uses javascript.
But like, what kind of error are you gonna handle that’s coming from the DB, if it’s something like a connection error because the DB is down, then you are shit out of luck you can’t handle that anyway, and you probably shouldn’t, not from the layer you are calling your DB from, that’s a higher level logic, so bubbling Errors there make sense.
and if it’s an “error” like findById doesn’t always return something, that’s what the Optional pattern is for.
what you have described to me seems like a worse version of the checked/unchecked exception system.
obviously I wasn’t counting JS because by sheer volume, HTML+CSS+JS will outnumber everything because it’s the only combo for the browser.
but if you restrict it as JS for Backend, then obviously it’s not even close to Java.
Js is not a real language and can’t hurt you
I like this, I will contribute to this, I think a lot of Java haters in this thread fail to realize just how massive Java is compared to everything else.
Rust might be the latest, hottest, bestest Java killer out there and it might be a completely superior language to Java, doesn’t matter, it’s dwarfed in terms of how many people actually use it for real projects, projects that should run for years and years. Even if Rust is the true Java killer, it’s gonna take a good few more years for it to kill java, measured in decades, there is just way too many projects and critical stuff out there that is running on Java, that means lots of jobs out there for java, still and still more.
This means there are a lot of senior Java programmers out there with lots of years of experience to contribute to this project.
Plus Lemmy itself having alternatives and choices is just a good thing.
Java is for enterprise level software that’s robust not for self hosting on a pi
What’s the issue with public static main?
And whats the issue with factories? Factories are a design pattern thats not specific to Java, I’d recommend you read the design patterns book and understand why they exist. I also have 0 factory useage stuck in my mind and I have been developing with java since 2016.
OOP? It’s an OO language ffs, that’s like complaining that C isn’t OO. If you don’t want to use an OO language don’t use one.
Do you mean verbosity because thats only a complaint for people who dont need to maintain stuff long term. Or maybe you misused java for doing something simple where python would have sufficed.
And then there is the springboot framework that makes shit trivial