On 11 October 2011 17:11, clay <[email protected]> wrote:

> On Oct 11, 3:24 am, Kevin Wright <[email protected]> wrote:
> > The three biggest problems I see are:
> >
> > - It has nulls, in 2011.
>
> ++
>
> Ideally, you have a Haskell-like approach where you have a Maybe/
> Option system and there is no universal null value.
>
> Scala unfortunately has a global null value and it would be hard to
> remove that without hampering JVM compatability.
>

Yup.  Can't run on the JVM and use Java libs without supporting nulls,
unfortunately.

This makes it rather fun trying to use something like mockito and watching
all your lovingly crafted Options throw an NPE...




> But Dart, doesn't seem to be taking on that kind of baggage. This is a
> relatively greenfield language with a legacy free VM, I don't see why
> they would need to support null.
>
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
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.

Reply via email to