June 05, 2002
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. IMO variable parameters is a very fundamental language feature that provides many new capabilities.  Limiting variable parameters to variants would force "boxing" and "unboxing".  This would, in many cases, obfuscate syntax, and decrease performance.

However, I am not against the inclusion of a fundamental variant type into the language, like C#'s variant type.  Variants can be quite useful.

--Craig