The conversation

Lessons learnedExperience excerpt · English

I'm sorry if 25 years of experience in Java programming doesn't seem a lot to you

I'm sorry if 25 years of experience in Java programming doesn't seem a lot to you. Given it's almost as long as Java has been about, and I've worked at EA and other companies full time as a mobile server side architect, am an open source contributor (albeit not a popular contributor, but one who codes in 4 languages regularly) perhaps you might like to reconsider my experience as sufficient. Java has a lot of required infrastructure, typically Spring these days, which brings with it all the boiler plate. Spring Boot is an "opinionated stack" (Google it) which basically is needed because _there is so much configuration required_ due to its enterprise level design, you can't just strip Spring out and have Java serve a basic 200 RESTful endpoint in the same footprint as other modern languages. Additionally most projects typically include a lot of legacy mis-steps or third party Apache libs that have added bloat (3-4 logging libraries in a single project not uncommon, 2-3 Date apis, numerous XML or JSON parsers etc etc). …

Original discussionJDK 20 and JDK 21: What We Know So Far219 source comments · at import
3

What was this responding to?

Parent context · original excerpt

VI

That doesn’t seem like much of a source. Do you have specific examples?

Full original

Community replies 0

No community replies yet. Add your perspective.

Replies from the source 3

Direct replies available in this import. Original-language excerpts.

VI

FWIW I wasn’t personally attacking you. I was just trying to make sure you provide evidence of something being bad when you claim it to be bad. That being said I think your experience isn’t representative of the ecosystem today. Spring is not Java. It is not a required dependency. In the last 10 years I haven’t worked on a single Spring application. There are plenty of alternatives with modern apis: Play, Quarkus, Micronaut, Helidon, Javalin etc. > Additionally most projects typically include a lot of legacy mis-steps or third party Apache libs that have added bloat (3-4 logging libraries in a single project not uncommon, 2-3 Date apis, numerous XML or JSON parsers etc etc). Left pad, right pad, isNumber, isArray? I’ll give you serverless, but I’ll repeat what I said in other comments: languages are about trade offs and use cases. They don’t have to be the one language to rule them all.

Full original
KA

> Spring Boot is an "opinionated stack" (Google it) which basically is needed because _there is so much configuration required_ due to its enterprise level design And more often than not you do want to have a whole toolbox available. How long will it take for you to add X to your TS microservice? Finding a dependency that looks somewhat stable (which will already bring in half of npm packages) is already hard enough, and my experience has never been too great with the JS ecosystem. It has a few gems among a trillion low-quality, always breaking shit. Also, most newer project definitely don’t bring in datelibs, as the java.time package is very great (and was actually “brought into” the standard lib from a popular library, which is how it should be). That overengineered bullshit actually comes from C++ of the time, it just probably didn’t segfault in java and thus higher levels of abstract…

Full original
KR

I'm Java fanboy, but I look at other languages. Python is nice, Scala is great. But JS (and TS as a result) are amalgamation of different features pushed together by different browser vendors. The resulting code is unreadable gibberish, and support in any IDE is almost non-existent because of the dynamic nature of that language (similar to python) and finding usages almost always needs to be done using string search. I would understand any other language to be better than Java, but Javascript is in same line as PHP of bad.

Full original
Continue on Hacker News

Respect different perspectives. Share concrete experiences.

Sign in to post, reply, repost, and quote.