At 1:50 PM -0400 4/19/04, John Siracusa wrote:
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... ;)

Um. Yeah. I think it's safe to say you're going to have positional args in core APIs for an awfully long time to come.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to