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

[Bug 16439] New: Avoid reserved words for variables

From: <bugzilla@jessica.w3.org>
Date: Mon, 19 Mar 2012 19:33:10 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16439-3890@http.www.w3.org/Bugs/Public/>

           Summary: Avoid reserved words for variables
           Product: WebAppsWG
           Version: unspecified
          Platform: Sun
        OS/Version: Windows ME
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: w3c@marcosc.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

The spec reads:

"Let class be a string whose value is determined as follows:"

Using the word "class" makes it annoying during implementation, because class
is reserved in many languages (hence I can't "var class = "). Please change it
to <var>classType</var> or some such. This makes it easier to implement makes
the spec and implementation consistant.

Configure bugmail: https://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 Monday, 19 March 2012 19:33:12 UTC

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