yet another function types syntax variation

John Nilsson john at milsson.nu
Tue Feb 9 11:12:03 PST 2010


On Tue, Feb 9, 2010 at 10:45 AM, Peter Levart <peter.levart at marand.si>wrote:

> What do you think?


I think it is very much an improvement.

Still find it hard to read long sequences of nested return types though.
With some training and good indentation convention I guess it will do
though.

 What about generics though?

public static
<
  T extends Number #(byte[],Integer,Integer) throws IOException,
  U extends T #(File) throws IOException
>
U filer(int mode) throws IllegalArgumentException
{
...
}

BR,
John


More information about the lambda-dev mailing list