<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16439</bug_id>
          
          <creation_ts>2012-03-19 19:33:09 +0000</creation_ts>
          <short_desc>Avoid reserved words for variables</short_desc>
          <delta_ts>2012-03-21 23:37:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>Sun</rep_platform>
          <op_sys>Windows ME</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcos Caceres">w3c</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65768</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-03-19 19:33:09 +0000</bug_when>
    <thetext>The spec reads:

&quot;Let class be a string whose value is determined as follows:&quot;

Using the word &quot;class&quot; makes it annoying during implementation, because class is reserved in many languages (hence I can&apos;t &quot;var class = &quot;). Please change it to &lt;var&gt;classType&lt;/var&gt; or some such. This makes it easier to implement makes the spec and implementation consistant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65935</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2012-03-21 23:37:55 +0000</bug_when>
    <thetext>There is no requirement that algorithms be implemented as is, especially since they are pseudocode and not actual code.  I don&apos;t think it&apos;s worth changing this -- I had wondered at some point whether I would change my variable names to be possible space separated words, as the HTML spec uses, since that should make some things more readable.  You would have even more of a problem, then. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>