Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's probably generated. Here's a one-liner in Groovy to generate the class body:

   (0..249).each { println "public static Object[] createArray(${(0..it).collect{'Object arg'+it}.join(', ')}) {\n\treturn new Object[]{\n\t\t${(0..it).collect{'arg'+it}.join(', ')}};\n}\n" }
Sorry it's not the most readable thing ;)


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: