Are function types a requirement?

Neal Gafter neal at gafter.com
Thu Feb 18 18:19:04 PST 2010


On Thu, Feb 18, 2010 at 3:56 PM, Reinier Zwitserloot
<reinier at zwitserloot.com> wrote:
> 2. While my rules may seem arbitrary when you don't know why they are being
> applied, the enjoy the advantage that 99.99999% of all actual usage of
> varargs out there already adheres to them; in my experience the only thing
> anyone ever does with varargs params is check them against null
> occasionally, and other than that loop through them either via .length /
> array acces, or foreach.

In my experience, it is not uncommon to have one varargs method
"chain" to another varargs method by passing the array along.  I
suspect your "99.99999%" statistic is inaccurate.


More information about the lambda-dev mailing list