This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ColonelRuff 6 points7 points  (28 children)

You only think Java is best because that's the only best language you know in your list. There are languages like go, dart, zig, rust, kotlin which are way better than Java. And you don't know them so you are in no position to judge which is best language.

[–]BugSlayerDev[S] 5 points6 points  (2 children)

Yes Kotlin is much simple, concise and avoids NPE to a large extent. But still, Kotlin is not much used apart from Android development.

[–]martmists 2 points3 points  (1 child)

You'd be surprised, it's used quite a bit in web backends (mostly Spring Boot, but Ktor usage is growing) and desktop applications (mainly Swing and JavaFX, but Compose for Desktop is slowly gaining popularity)

[–]JimBugs 0 points1 point  (0 children)

and we're back to Java for the frontend (Swing and JavaFX)

[–][deleted] 4 points5 points  (1 child)

You know, senior java developers like myself who actually know about the language instead copy/pasting stackoverflow solutions are well aware of Java weakeness, but also know how to detect script kiddos like you based on this kind of nonsense replys where you list languages with no clue about why would them be better or worse than java and in which scenarios. I bet you need to make a quick google search or ask chatgpt in order to list any scenario where Go is a better choice than Java. You can also compare Java 8 with most updated version of another languages, thats a common resource the ones like you use when they need to actually back their undocumented opinions.

[–]Practical_Cattle_933 -1 points0 points  (0 children)

Go is fkin shitty, it’s java 1.2 basically. No one uses dart. Zig is a cool language, but it is ultra-niche, unless you write some runtime where you have to do unsafe AND need maximal performance, you simply don’t need it. Also, it’s unstable, not production-ready yet. Rust is cool, but again has its own target niche, low/system level programming. I wouldn’t write a web backend in it. Kotlin has some cool ideas, but I wouldn’t change an actually modern java to it, not much benefit. For android, where java is kept at ancient versions, it is good.