HNHacker News
TopNewBestAskShowJobs

warrick

9 karma · joined October 18, 2011

submissionscomments
warrick··on The Science of Why No One Agrees on the Color of This Dress
Eye color affects contrast and glare perception.
warrick··on The Science of Why No One Agrees on the Color of This Dress
What I haven't seen mentioned as a factor is eye color.

I have blue eyes and see the dress as blue and black.

warrick··on Machine Learning Course by Tom Mitchell
http://pastebin.com/raw.php?i=hbDV5iiS
warrick··on Defensive Bash programming
Right, this is a style choice. He explicitly mentions '| \' as a bad example.

https://google-styleguide.googlecode.com/svn/trunk/shell.xml...

warrick··on Did Obama Just Destroy the U.S. Internet Industry?
What does this have to do with Obama? Genuine question, the article doesn't say. I thought this was a consequence of the Patriot Act.
warrick··on Why everybody love/hate Java?
That declaration has an unchecked conversion which generates a compiler warning.

No, their are no lambdas in Java.

warrick··on Why everybody love/hate Java?
Pure Hate:

1. Division of primitive datatypes and objects is ungodly annoying.

2. System.arraycopy(), where is the camelCase Java standards fascists?

3. .length vs .size() really, why does a primitive have an attribute anyways?

4. Date, Time, Calendar are a colossal cluster-f* unless your favorite word is Deprecated.

5. System.out.println, this is one of the most common output and debugging methods, why is it 18 characters? NO, static imports don't mitigate the idiocy.

6. HashMap<String,String> map = new HashMap<String,String>(), seem repetitive to anyone?

7. No unsigned data types?

8. Everything has to be a class.

9. Anonymous inner classes are no alternative to lambdas.

10. Generics are broken and Type Erasure for backwards compatibility is simply ridiculous.

11. No operator overloading?

Besides all these petty annoyances Java isn't fun to code, period. If you think it is you should have a go with Python or better yet Ruby.

IMHO Java suffers from two fundamental impairments:

  1. It is too easy.

  2. It is an enterprise programming language.

Because it is so easy the community is inundated with nonsense. Because it is burdened by the expectation of massive enterprises it can never change and therefore it can never improve.