Revision 201384 of Operators

  • Revision slug: Talk:JavaScript/Guide/Obsolete_Pages/Operators
  • Revision title: Operators
  • Revision id: 201384
  • Created:
  • Creator: Exaton
  • Is current revision? Yes
  • Comment /* Precedence Table */

Revision Content

Precedence Table

Hi. I was under the impression that it was more customary, in a precedence table, to list operators in decreasing order of precendence -- ie. the higher up in the table, the greater priority. I cite this table concerning C and C++ in Wikipedia as an example, and I'm pretty sure it's what I've always seen in textbooks... Anyone else with an opinion concerning this ? (whoops, forgot to sign that, sorry) Exaton 09:07, 25 March 2006 (PST)

I have now seen that the Operator Precedence Table in the MDC JS Core Reference *is* reversed, and that it underwent that reversal after discussion on the talk page. So, shouldn't the same thing happen here ? Happy to do the copy & pasting if people agree :-) Exaton 00:39, 28 March 2006 (PST)

I think you can reverse it; there's no point in having two tables list operators in different order. --Nickolay 13:31, 28 March 2006 (PST)
OK, been a few days now, so going ahead with that. -- Exaton 10:11, 3 April 2006 (PDT)

Revision Source

<h3 id="Precedence_Table" name="Precedence_Table"> Precedence Table </h3>
<p>Hi. I was under the impression that it was more customary, in a precedence table, to list operators in decreasing order of precendence -- ie. the higher up in the table, the greater priority. I cite <a class="external" href="http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence">this table concerning C and C++</a> in Wikipedia as an example, and I'm pretty sure it's what I've always seen in textbooks... Anyone else with an opinion concerning this ? <i>(whoops, forgot to sign that, sorry)</i> <a href="User:Exaton">Exaton</a> 09:07, 25 March 2006 (PST)
</p><p>I have now seen that the <a href="en/Core_JavaScript_1.5_Reference/Operators/Operator_Precedence">Operator Precedence Table in the MDC JS Core Reference</a> *is* reversed, and that it underwent that reversal after discussion on the talk page. So, shouldn't the same thing happen here ? Happy to do the copy &amp; pasting if people agree :-) <a href="User:Exaton">Exaton</a> 00:39, 28 March 2006 (PST)
</p>
<dl><dd> I think you can reverse it; there's no point in having two tables list operators in different order. --<a href="User:Nickolay">Nickolay</a> 13:31, 28 March 2006 (PST)
</dd></dl>
<dl><dd><dl><dd> OK, been a few days now, so going ahead with that. -- <a href="User:Exaton">Exaton</a> 10:11, 3 April 2006 (PDT)
</dd></dl>
</dd></dl>
Revert to this revision