News for hackers. Stuff that matters.
Re:Modern programming languages require generics by charcircuit on Tuesday May 24, 2022 @03:52PM (#31496780)
>All Objects are sorted using the third signature.

Just to be pedantic int[] and long[] are both objects, but will be sorted using the first two signatures because the JVM uses different instructions for loading and storing elements from an array. Technically you could make a single function to return an array's length since it uses the same instruction.

Re:Modern programming languages require generics by anonymoushn on Wednesday May 25, 2022 @12:41AM (#31500679)
This surely meant "All arrays of Objects"