TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why I like Java

14 pointsby surajover 11 years ago

3 comments

chris-martinover 11 years ago
&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 未加载
EdwardDiegoover 11 years ago
&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 未加载
peterashfordover 11 years ago
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.