W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[WebIDL] change argument names from identifiers

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 21 Feb 2012 22:00:27 +0100
To: public-script-coord@w3.org
Message-ID: <op.v91ra12e64w2qv@annevk-macbookpro.local>
It would be nice if argument names were not identifiers, so "callback" can  
be used as in:

   foo(optional Listener? callback)

Argument names should mean nothing whatsoever and as far as I can tell you  
can disambiguate them already. Both DOM and HTML ran into this problem.

Anne van Kesteren
Received on Tuesday, 21 February 2012 21:01:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:05 UTC