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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Impossible Java 11

18 点作者 vikrum将近 4 年前

3 条评论

karmakaze将近 4 年前
This story reminds me of a Java 1.x codebase I worked on that didn't use generics even though we were on Java 1.6 by then. The number of lines affected seemed astronomical--it was a retail trading app that had evolved over many years from using AWT to Swing JPanel and rarely other Swing components with the data handling similarly stunted. I took it upon myself to incrementally add type information in chucks as a side project. After a number of months, less than 12, I finally got to under 1000 warnings which was the first time I had a sense of how many there even were. A short time later it was done. Interesting thing was that there was only 1 bug exposed where an ClassName@pu4k3 sort of string would get added to a list/combobox under some race conditions. The codebase was much happier place to be after the changes.
gjvc将近 4 年前
&quot;Once you are close to the latest version, it’s no challenge to stay there.&quot;<p>Well put.
mtnygard将近 4 年前
This is another great example of the benefits of just rolling up your sleeves and doing the hard work one task at a time.<p>Don&#x27;t get me wrong. I love high leverage solutions. But sometimes you just have to grind it out.