[External] : Pattern assignment statements (extracted from: Primitive type patterns and conversions)

John Rose john.r.rose at oracle.com
Thu Mar 4 08:44:31 UTC 2021


On Mar 3, 2021, at 11:52 PM, forax at univ-mlv.fr wrote:
>> 
>> First, I agree with Brian  that “int data[] = …”
>> is horrible; we should have only allowed
>> “int[] data = …” and taken the hit early.
>> 
> There is also its big brother
>   int foo() [] { return null; }
> which is the epitome of the C-style array declaration allowed in Java.

Thanks, Remi; that's the stuff of nightmares
and it's bedtime here.


More information about the amber-spec-experts mailing list