5 ms·
From what I gather everyone is still stuck on Java 8 so no need to check?
by ozim 11mo ago
From what I gather everyone is still stuck on Java 8 so no need to check?
- foo4u 11mo agoThis is absolutely untrue. Code from JDK 8 runs fine on JDK 25 (just released LTS). It is true that if you did something silly that locks you into certain dependency versions, you may be stuck, but this is not the majority of applications.
- vips7L 11mo agoNo, everyone isn’t. You really should check.
- throwaway7783 11mo agoWhere do you gather this from? We are a startup, on Java and on 25.
- pylotlight 11mo agoWhy didn't you choose something more modern/sensible. go/kotlin/anything else on the planet?
- gf000 11mo agoGo is more verbose than Java though, in what way would it be more sensible? Also, Java's ecosystem is unparalleled (top 3 in size, depending on domain it usually has the best packages (e.g. typical backend-related functionality)), has stellar performance, a huge developer base, best-in-class IDE support, even LLMs understand it exceptionally well (given how widely represented it is in the training corpus, plus has a decent type system) if that's your thing. For a typical backend system, you really have to have a good reason to choose something else at this point.
- codr7 11mo agoExcept for Kotlin, which is a much nicer language to deal with.
- throwaway7783 11mo agoLittle nicer for sure
- lenkite 11mo agoA nicer language which is much slower to compile compared to Java.
- codr7 11mo agoIf that's the only price, I'll take it.
- zeroc8 11mo agoJava is ok for typical backend stuff, but Go doesn't hide things the way Java does. With Go, you actually learn what's going on, while with Java, you just learn your way around the various frameworks. As a programmer, I don't want that That said, my current company uses Spring Boot. It does its job, but it wouldn't be my top choice.
- throwaway7783 11mo agoIt is the programmer's job to learn what is going on. Java itself doesn't hide anything from you. You are free to write a servlet from scratch, or use a framework like Spring to hide everything. Your (company's) choice really. People end up choosing something that has batteries included so they can focus on solving business problems. A programmer who will superficially understand SpringBoot without understanding how it works. Really, there is no magic there - its a few core concepts - annotations, bytecode enhancement and dynamic proxies. Maybe Im missing one or two. Everything else is built on top of this. This is regardless of language/ecosystem. If I do not understand the fundamental concepts, I will never be successful in that ecosystem.
- zeroc8 11mo agoThe layer in Go is much thinner, if I want to learn about a new concept or technology. Of course there is no magic, if you are willing to put the time in. The question is how much time is required.
- gf000 11mo agoThe layer is thinner because you can't create abstractions as well in that language. But that's like saying that a bicycle is better than a car, because the first is simpler to understand. (At the same time, nothing prevents you from assembling a bicycle in Java if that's indeed what you need. But for general long distance travel you are better off starting with a car frame, aren't you?)
- throwaway7783 11mo agoWhile kotlin is somewhat nicer, it is not making a huge difference compared to java25. Like the sibling said, go is as verbose , the JVM is unparalleled still. Why wouldn't I choose java
- BobbyJo 11mo agoGolang has a way smaller memory footprint on average. I left a place using Java to run edge apps and the footprint was a major issue.
- krzyk 11mo agoKotlin sensible? It plays catchup game with newest JDKs.
- gf000 11mo agoEven stuck on Java 8 it's less verbose than Go, which everyone seems to love. But the majority of projects are on a newer JDK than 8 for quite some years now.
- the_gipsy 11mo agoNot even latest Java is less verbose than Go.
- gf000 11mo agoAre we talking about the language that has a couple extra lines after every statement, disguising as error handling?
- deleted 11mo ago[deleted]
- the_gipsy 11mo agogo's error handling is very poor and too verbose, but go is still way less verbose than Java overall. Like any other language. Java is the running joke of verbosity, and you are too if you seriously argue that it's not.
- gf000 11mo agoFeel free to provide some evidence. Like really, I would be interested in examples e.g. from the Java stdlib that are significantly more verbose than another generic purpose language. But I do know that you are meaning stuff like AbstractFactoryFactory, but you do realize that there is zero need to write anything like that and you can (and people do) write bad code in any language?
- groundzeros2015 11mo agoWhy is the quality of discourse in this thread so low?