...and an unambiguous function signature: it
documents that you're expecting more than one value. Taking in a
Variant
says nothing, you're relying on the user's knowledge that
Extend
should take an array of values, and you're not validating whether the parameter's type is actually an array. This is VBA, a
Variant
could be
anything. I've been using a similar
List
class for quite a while now, and for me at least, the
syntactic sugar has been much more valuable than the
possibility for hypothetical eventual extensibility. —
Mat's Mug 15 secs ago