Java16 都快出了,你们还在用 Java8 ?

2021-02-03 19:22:21 +08:00
 downstairs

能告诉我为什么吗??? 是什么限制了你使用更新版本的技术? 新版本肯定要优于老版本啊,不论是从结构性能还是设计上。

17171 次点击
所在节点    Java
147 条回复
yumenawei
2021-02-03 19:25:46 +08:00
有啥明显的收益吗?
系统运行的好好的,万一该出了问题呢。
secretman
2021-02-03 19:31:41 +08:00
新版本出问题的时候你要么回退旧版本(损失很大),要么等修复
我开发安卓,一开始经常喜欢引用最新 android 官方的组件,但是经常被坑,不兼容啦,bug 啦,多了去了,反而是老版本稳当。
PonysDad
2021-02-03 19:33:32 +08:00
能不加戏就不加戏
sagaxu
2021-02-03 19:38:44 +08:00
从哪看出来大家都在用 8 ?我们只有 11 和 15
rainboat
2021-02-03 19:41:03 +08:00
话说 java8 之后的版本商用都要收费了吧
waising
2021-02-03 20:13:45 +08:00
去年才把公司的 7 升级到 8 。。。11 公司想都不敢想 一堆祖传项目
xupefei
2021-02-03 20:15:57 +08:00
升级之后发现问题,你来 24x7 oncall ?
kassadin
2021-02-03 20:17:48 +08:00
除了语法糖的更新,内部的改动着实存在感不强
另一方面也说明兼容性做的好,悄么么升上去啥也没发生
AndyAO
2021-02-03 20:18:03 +08:00
软件是很脆弱的东西
不动的时候还经常有问题
不要说动了

尤其是代码非常多,关系非常复杂的时候
chendy
2021-02-03 20:32:52 +08:00
多一事不如少一事,java8 跑的好好的何必去动
升级 java 版本有的库要跟着升,有的库升了代码要跟着改
小项目无所谓,大项目升级个 java 版本的工作量大到没人愿意动,而且还要承担风险
顺便一说 j8 的支持到 2026 年,相信那个时候大家已经用上了 loom 和 value class 啥的
再顺便一说非 LTS 版本不要用
再再顺便一说,不用是不用,了解一下新特性还是挺好的
vicalloy
2021-02-03 20:39:28 +08:00
之前我还一直认为 JAVA 的兼容性做的很好,版本升级肯定没问题。
哪知道 JAVA8 之后的版本 rt.jar 没有了。
limuyan44
2021-02-03 20:41:41 +08:00
戏多,禁止 windows 更新的时候你们可不是这么说的。
iyaozhen
2021-02-03 20:43:28 +08:00
我们发布打出的 jar 有 1G 多 来来来,你升一个
felixcode
2021-02-03 20:51:25 +08:00
知道为什么有些人看不上 python, go, rust 了吧
java 是可以用来养老的,一个版本用 20 年
ijrou
2021-02-03 20:51:35 +08:00
在用 11.。。
wdytoya
2021-02-03 21:12:41 +08:00
了解新特性可以,但不是 LTS 不建议升,出问题都不知道怎么死的。当然你如果是个人开发随便你折腾
cz5424
2021-02-03 21:23:49 +08:00
见过祖传项目 java7
billlee
2021-02-03 21:25:59 +08:00
框架不升我也没办法
moqimoqide
2021-02-03 21:37:13 +08:00
技术新闻和技术会议等地方,传播的都是行业的前瞻性观点,这些声音过于响亮,得到了最大的权重。

但是,请不要忘记,世界仍然运行在 Excel 、Java 8 和 Sharepoint 上面。

This piece of the puzzle is the one that worries me the most. What I’m worried about is that places like Hacker News, r/programming, the tech press, and conferences expose us to a number of tech-forward biases about our industry that are overenthusiastic about the promises of new technology without talking about tradeoffs. That the loudest voices get the most credibility, and, that, as a result, we are listening to complicated set-ups and overengineering systems of distributed networking and queues and serverless and microservices and machine learning platforms that our companies don’t need, and that most other developers that pick up our work can’t relate to, or can even work with.

I’ve spoken and written about it at length, but, most times, easier is best.

And, if the tech is, in fact old and outdated, and the tradeoff from replacing it is lower than the tradeoff of keeping it, we shouldn’t be jumping to replace it with the latest and greatest. While we should evaluate new tools evenhandedly, most times, Postgres works just fine.

For better or worse, the world l runs on Excel, Java 8, and Sharepoint, and I think it’s important for us as technology professionals to remember and be empathetic of that.

From IT runs on Java 8: https://veekaybee.github.io/2019/05/10/java8/
TypeError
2021-02-03 21:46:50 +08:00
还是等下一个 lts 再用 Java 吧,
var + zgc + loom + graalvm 看起来挺有意思,

最讨厌老 Java 代码一堆 XML

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/751042

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX