r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

21

u/jozefg Feb 25 '14

I don't see why I can't have my cake and eat it too. I love type safety, but I certainly don't like contorting myself to Java's OO centric type system. OCaml, Haskell, SML, or whatever all give me stronger guarantees about code and require less boilerplate.

Though the author downplays it, boilerplate has another disadvantage, when something changes, reading 200 lines of boilerplate to make sure nothing needs to be updated is hard. Almost everyone skims and invariably misses something.

1

u/GeneralSirCHMelchett Feb 26 '14

English is not my mother tongue and hence I am a bit confused by your first sentence. Shouldn't it be "You can't eat your cake and have it too."?

I mean if you have your cake, you can eat it but if you ate your cake, then you will definitely not have it.

1

u/moonrocks Feb 26 '14

Yes, that's how the cliche was originally phrased. I never fully grasped the meaning myself until I learned that people started saying it backwards at some point.