News for hackers. Stuff that matters.
Re:Groovy Array: it just keeps going...and going... by briancarper on Monday November 29, 2010 @05:47PM (#1952142)
There are some similar horrors in the source code for Clojure. https://github.com/clojure/clojure/blob/master/src/jvm/cloju...

Java is a harsh mistress. This is why dynamic languages on the JVM are nice, so I never have to write code like this myself.

Re:Groovy Array: it just keeps going...and going... by Psyonic on Monday November 29, 2010 @07:10PM (#1952438)
I can't be sure, but in the Clojure case it appears to be done for performance reasons. The final definition of invoke uses varargs for everything after 20, so it's not an issue of compatibility.
Re:Groovy Array: it just keeps going...and going... by jcromartie on Monday November 29, 2010 @09:49PM (#1952828)
As long as nobody is maintaining that type of code by hand, I don't care what makes the JVM happy.