On 4/19/04 1:41 PM, Dan Sugalski wrote: > At 1:14 PM -0400 4/19/04, John Siracusa wrote: >> I know we are running out of special characters, but I really, really think >> that required named parameters are a natural fit for many common APIs. > > Well... maybe, but ponder a likely common case--automatically > redelegated initialization methods with classes that have parents > written in languages without named parameters. (Like, say, all the > rest...)
Then either make the order part of the API ("Sorry, we're using a C lib!") or provide "manual" delegation with an arg-ordering wrapper. Calling out to lesser languages is always bound to be crufty... ;) -John