W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 14878] New: Rename const to legacyconst

From: <bugzilla@jessica.w3.org>
Date: Fri, 18 Nov 2011 19:08:20 +0000
To: public-script-coord@w3.org
Message-ID: <bug-14878-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14878

           Summary: Rename const to legacyconst
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: ayg@aryeh.name
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Anne thinks const should be renamed to legacyconst, like legacycaller, to
discourage spec writers from introducing more numeric constants.  Numeric
constants are an antipattern that we want to avoid in new interfaces.  You
always want to use string literals instead.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 18 November 2011 19:08:27 UTC

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