The Philosophy of Nothing

Neal Gafter neal at
Wed Dec 2 08:07:46 PST 2009

On Wed, Dec 2, 2009 at 7:59 AM, Paul Benedict <pbenedict at> wrote:

> Does the spec prevent defining method that can neither return nor throw?
> public Nothing func() throws Nothing { }

No, because Java has unchecked exceptions, and for other reasons that will
be more clear when part b (0.6b) is published.

I can't imagine what the value would be of adding such restrictions to the
specification or compiler.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the closures-dev mailing list