This is not an answer. It is avoiding an answer. neljapäev, 25. oktoober 2012 17:00.49 UTC+3 kirjutas clay: > > On Thursday, October 25, 2012 5:48:30 AM UTC-5, Mario Fusco wrote: > >> ... if Java 8 wants really do a step toward the functional world, I >> honestly don't see why such a fundamental (and let me say trivial) thing >> like an Option (and possibly an Either) shouldn't be available in the core >> Java. > > > I can give one extremely good reason that Java shouldn't have Option: > > Java is the JVM language that caters to those who demand more backward > compatability and something more traditional and familiar, and has tons of > legacy code and libraries already built around null, while those who demand > more high level elegance and abstraction, such as Option, have Scala. > > Microsoft does the same thing with .NET: F# is the language that caters to > those that demand more high level elegance and abstraction, while C# is > their more traditional language. Microsoft added Option to F#, and > purposefully did not add it to C#. > > If you take Option so seriously and are on the JVM, why not fully switch > over to Scala? > >
-- You received this message because you are subscribed to the Google Groups "Java Posse" group. To view this discussion on the web visit https://groups.google.com/d/msg/javaposse/-/WM1INtHCiBcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
