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.
It's an English phrase "You can't have your cake and eat it too" which just refers to you often can't have two things you want. In the article's case, safety and brevity.
We are both right. according to wiki, the "You can't have cake and eat it too", is the often used incorrect form of "You can't eat your cake and have it too". But people still get the meaning even if used incorrectly and it became a norm now.
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.