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
http://annevankesteren.nl/
Received on Tuesday, 21 February 2012 21:01:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC