TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Java 8 still widely used

63 点作者 whack超过 1 年前

15 条评论

maltalex超过 1 年前
The reason is obviously Java 9 which broke compatibility in many areas <a href="https:&#x2F;&#x2F;www.oracle.com&#x2F;java&#x2F;technologies&#x2F;javase&#x2F;9-relnotes.html#JSERN9" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.oracle.com&#x2F;java&#x2F;technologies&#x2F;javase&#x2F;9-relnotes.h...</a>
评论 #38483410 未加载
评论 #38482512 未加载
ergonaught超过 1 年前
You use a Mac.<p>You search for java.<p>You click the first result and go to java.com.<p>You click Download Java.<p>You are given Java 8.<p>You are now somehow a mystery.
评论 #38482762 未加载
评论 #38482873 未加载
Someone1234超过 1 年前
.Net has the same problem[0] 45% still &quot;regularly use&quot; .Net Framework because, like Java 8, .Net Core broke compatibility and even in spite of Microsoft&#x27;s efforts to offer upgrade routes, it is still a hugely painful experience. Particularly for those stuck on libraries like Asp.Net.<p>Their current best solution is to put a modern version wrapper around .Net Framework and to map between them, but that isn&#x27;t exactly ideal either (since you wind up with a giant mess).<p>[0] <a href="https:&#x2F;&#x2F;www.jetbrains.com&#x2F;lp&#x2F;devecosystem-2023&#x2F;csharp&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.jetbrains.com&#x2F;lp&#x2F;devecosystem-2023&#x2F;csharp&#x2F;</a>
评论 #38482658 未加载
评论 #38482569 未加载
评论 #38482949 未加载
acomjean超过 1 年前
I feel for Java. Everytime I&#x27;ve used it, I&#x27;ve been pleasantly surprised by the language. It has some truly amazing features (steams where very cool).<p>Then I get to the tooling and it&#x27;s just such a pain, if it&#x27;s working we don&#x27;t touch it. Our repository was checked in &quot;eclipse format&quot;. Tried to move it to jetbrains. No dice. it too, me a few days to get it so i could compile and run under eclipse. I&#x27;m not an expert but I don&#x27;t want to touch it for fear of breaking. New projects aren&#x27;t done in Java. Php perl and python have a better dependency story, though slower.
评论 #38482869 未加载
评论 #38482733 未加载
评论 #38482844 未加载
评论 #38485585 未加载
mooreds超过 1 年前
Concur.<p>Another data point. Our open source JWT library[0] and Java client library[1] both target Java 8 because that is widely used.<p>0: <a href="https:&#x2F;&#x2F;github.com&#x2F;FusionAuth&#x2F;fusionauth-jwt">https:&#x2F;&#x2F;github.com&#x2F;FusionAuth&#x2F;fusionauth-jwt</a><p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;FusionAuth&#x2F;fusionauth-java-client">https:&#x2F;&#x2F;github.com&#x2F;FusionAuth&#x2F;fusionauth-java-client</a>
Jimmc414超过 1 年前
Might have something to do with the $30 per seat license cost of Java v9+
评论 #38482130 未加载
评论 #38499400 未加载
评论 #38481984 未加载
w10-1超过 1 年前
For context on possible sampling error:<p><pre><code> - 50% use Java 8 - 72% use Spring - 74T use Maven - 78% use IntelliJ - 38% develop web site </code></pre> If it works, don&#x27;t touch it.
评论 #38482557 未加载
little_hermit超过 1 年前
Adoptium OpenJDK is the way to go.
评论 #38482603 未加载
junon超过 1 年前
Java 8 (maybe 9) is the last version I wrote code for. Having looked at recent new Java features it looks like a completely different language now. I also see a lot less new projects written in Java, at least in the OSS sphere. Just anecdotal.
评论 #38482162 未加载
chriscjcj超过 1 年前
Ninite.com lists the following Java installs:<p><pre><code> 64-bit Java Runtime (JRE) 8u392-b08 32-bit Java Runtime (JRE) 8u392-b08 64-bit Java Runtime (JRE) 11.0.21 64-bit Java Runtime (JRE) 17.0.9 64-bit Java Runtime (JRE) 21.0.1 </code></pre> How is the average person to know which one is best for them and why?
评论 #38485226 未加载
rch超过 1 年前
The ASF world is finally moving forward. Java 11 is pretty much ubiquitous, and I&#x27;d expect latest LTS versions to be supported by default going forward.
评论 #38482678 未加载
评论 #38483287 未加载
esafak超过 1 年前
The Java I encountered at work didn&#x27;t even use Java 8&#x27;s features. People balked when I suggested using vavr to get some functional programming goodness.<p>The culture around Java is conservative; it has a lot of inertia. That&#x27;s why I support Kotlin; it forces project contributors to leave their dated habits behind. Java libraries still work, of course.
Svetlitski超过 1 年前
This is unfortunate considering how far the language has come since then. Local variable type inference (i.e. the `var` keyword) is very difficult to give up once you’ve gotten used to this being table-stakes in basically every other modern statically typed language.
roschdal超过 1 年前
Java 8 is the best Java.
znpy超过 1 年前
Cobol is still widely used as well, so what?