
13 Nov
2004
13 Nov
'04
11:10 p.m.
Peter Dimov wrote:
Daniel James wrote:
This coupling could be avoided by using an overloaded operator to combine the arguments, for example:
f(slew(.799) | name("z"));
I've been using essentially the same technique, except that I chose & as a combiner operator. | isn't bad, too.
But it still looks considerably worse than: f(slew = 0.799, name = "z"); And you lose the positional meaning. -- Daniel Wallin