On Sunday, 6 April 2014 at 23:08:10 UTC, Frustrated wrote:

How bout

func(,,x,,y)

That isn't too bad (VB6 had it IIRC), but the caller still has to care about the order of the params they're ignoring. Ie if you have func([foo],[bar]) then you can't just pass in a one-param foo-only or bar-only without worrying about the unimportant detail of the arbitrary ordering (unlike with the overload approach).

Reply via email to