I looked at some Java code today, and I found some weird syntax:
public class Sample { public int get()[] { return new int[]{1, 2, 3}; } }
java's syntax allows for the following:
int[] intArr = new int[0];
and also
int intArr[] = new int[0];
which looks more fmiliar coming from the c-style syntax.
so too, with a function, the name can come before or after the [], and the type is still int[]