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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why I like Java

14 点作者 suraj超过 11 年前

3 条评论

chris-martin超过 11 年前
&quot;write a program that copies standard input to standard output&quot;:<p>org.apache.commons.io.IOUtils.copyLarge(System.in, System.out);<p>I despise the Java language as much as the next dev, and the core library is drastically underfeatured - But if you can&#x27;t manage to copy one stream to another because you don&#x27;t use libraries, you have no one to blame but yourself.
评论 #7169649 未加载
评论 #7169915 未加载
EdwardDiego超过 11 年前
&gt; So yes, I enjoyed programming in Java, and being relieved of the responsibility for producing a quality product. It was pleasant to not have to worry about whether I was doing a good job, or whether I might be writing something hard to understand or to maintain. The code was ridiculously verbose, of course, but that was not my fault. It was all out of my hands.<p>Yes, that&#x27;s it, blame the language when you write poor quality software. If only I&#x27;d used language X instead of language Y, my code would&#x27;ve been easy to read, well-architected and thoroughly tested.<p>...and if language X in this instance is supposed to be Perl.... come on. It has built-in functions that change behaviour depending on whether or not you&#x27;re assigning them to something.
评论 #7185272 未加载
peterashford超过 11 年前
What an utter load of crap. You can write excellent code in Java, you can write crap in Java. Due to its popularity, java has had everyone and their dog learning how to &quot;code in java&quot; and hence there are many poor &quot;Java developers&quot;. That doesn&#x27;t make it a bad language.<p>I quite like Java too, but without the mealy-mouthed backhanded compliments.