> On 4 Mar 2021, at 08:44, John Rose <john.r.r...@oracle.com> wrote: > > On Mar 3, 2021, at 11:52 PM, fo...@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.
:-o I had no idea! I see the JLS says "It is very strongly recommended that this syntax is not used in new code.” Gavin