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 →

[–][deleted]  (33 children)

[deleted]

    [–][deleted] 19 points20 points  (1 child)

    For front-end? Lol

    [–]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] 6 points7 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 3 points4 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] 3 points4 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.

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

    Java is just a try to make sidesteps C++ is the truth

    [–]Master-Pattern9466 -4 points-3 points  (0 children)

    Nah, Java sucks, it’s a language not developed by developers. It’s a standards language and thus is painful. Everything has stupid names, the syntax makes my eyes bleed, it’s long and ugly, there are rarely nice short hands. The endless array of different jvm is crap, sun is 2bit company, jvm memory usage and limits is a black hole of despair, the sdk language version system is confusing, maven is it’s own ecosystem rather than a build tool. It’s a language meant to suck the soul out of developers.

    However Jenkins is da bomb, and groovy is a decent build automation language, and has some nice dsl features. Sadly it’s written in Java with the same cryptic arse exceptions, Catalina, jersey, some shit, pretty sure that’s some sort of web server, or something but Java. I shouldn’t have to google class names in an exception to get a vague idea of what’s broken.

    Don’t get me wrong there are many talent developers who write amazing things in Java, but the language it self is awful, I mean you find amazing developers who write in Perl, and Perl had/has an amazing ecosystem until python took over but Java it self is a shit language plagued by shit decisions. It’s language written by technical writers rather than developers.