www.digitalmars.com         C & C++   DMDScript  

D - language features

Walter wrote:
 The proper way to do it would be to create a variant type, and then have
 variable parameter lists be passed as arrays of variants.
I think perhaps you are still thinking only of printing strings to the console. There are many other applications for variable parameters. Further, you don't necessarily want the overhead of "boxing" and "unboxing" variant types when passing these parameters. IMO variable parameters is a very fundamental language feature that provides many new capabilities. Limiting this to a variants would in many cases obfuscate syntax, and decrease performance. --Craig
Jun 04 2002