Ask HN: What is a modern Java environment?
21–30 of 153 posts
Re: Ask HN: What is a modern Java environment?
#22* Use SDKMan for runtime and sdk management https://sdkman.io/ * Try to use Kotlin where allowed (Maybe unpopular and bad faith response given that you asked about Java, but I don't care -- kotlin's Java interop is way more seamless than Scala or Clojure to the point that its often not even noticable) https://kotlinlang.org/ * IntelliJ * Spring is pretty popular, I've seen a lot of people using Vertx * Square librari…
> Try to use Kotlin where allowed If you want a slow build and code that is fun to write but hell to read, that is good advice. > Use kotlinscript as the config language Extremely slow, that is.
I agree that these will slow down your build, but not significantly, and at the benefit of developer comfort to make changes. Incremental compilation largely erases these slowdowns.
Re: Ask HN: What is a modern Java environment?
#23The stack I've seen, used and liked at many clients is: Spring Boot, Kotlin, IntelliJ. Which of course means all the old discussions: Jetty/Tomcat/JBoss/GlassFish, GSON/Jackson, Hikari/C3PO/etc, etc are now mostly moot, since most just use the Boot defaults until they need something else. Kinda nice, actually. Less bikeshedding, can get a project up and running without taking a stand on all these things. Most clients…
Re: Ask HN: What is a modern Java environment?
#24IntelliJ Idea for sure.
I am using it now because the team is using it, but cant figure out in which way it is supposed to be better then Eclipse. It looks somehow better, but it seems strictly inferior in terms of what it does for me.
(I personally still use Eclipse)
Re: Ask HN: What is a modern Java environment?
#25So maybe the frontend and deployment has changed. The rest probably not so much.
Java versions 8 and 11 are by far the most common.
Lambdas were introduced in version 8.
Re: Ask HN: What is a modern Java environment?
#26Re: Ask HN: What is a modern Java environment?
#27IntelliJ Idea for sure.
I am using it now because the team is using it, but cant figure out in which way it is supposed to be better then Eclipse. It looks somehow better, but it seems strictly inferior in terms of what it does for me.
Re: Ask HN: What is a modern Java environment?
#28IntelliJ Idea for sure.
I am using it now because the team is using it, but cant figure out in which way it is supposed to be better then Eclipse. It looks somehow better, but it seems strictly inferior in terms of what it does for me.
Re: Ask HN: What is a modern Java environment?
#29If I was starting a new project I'd look at Jooby, which looks pleasant and does very well on TechEmpower benchmarks.
Re: Ask HN: What is a modern Java environment?
#30Earlier quoted context omitted.
I am using it now because the team is using it, but cant figure out in which way it is supposed to be better then Eclipse. It looks somehow better, but it seems strictly inferior in terms of what it does for me.
And what are the functions that you use that work better in Eclipse?
You can't stop IntelliJ from saving work. I like to kick of a build, and work on some new stuff while it's going on without saving until the build completes. That workflow is impossible in IntelliJ. You have to down tools, for a long build with lots of tests that can make IntelliJ slower over all. IntelliJ generally more responsive for most work, but that's because it's not using Java's type system to find errors as you work, errors are deferred, which often means they take longer over all to fix.