Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Re: idea for refactoring

>Nope :)
>varargs  are also useful.
>But sometimes like Dan said you have something like this:

For trailing optional arguments, varargs will provide a mechanism.  However, 
the general case won't work with varargs.  I, personally, think this adds 
confusion to the reader of the code.  APIs like JOptionPane have continuously 
been frustrating because there are too many overrides, some with more than 3 
arguments which is the jumpoff point for my eye and brain coordination.

-----
gregg@xxxxxxxxxxxx  (Cyte Technologies Inc)




Back to the top