<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>@ScroogeMcPump:  Correct, &lt;code&gt;?:&lt;/code&gt; isn't &lt;b&gt;the&lt;/b&gt; definitive ternary operator.  However, since (as you mention) it happens to be the only one, it is in that sense &quot;the&quot; ternary operator (or perhaps I should more thoroughly say &quot;&lt;b&gt;a&lt;/b&gt; definitive ternary operator&quot;).  I don't know of a better name for the thing, and any time I forget the syntax (which comes first, the huh or the colon?), I can't exactly run to google with a search for &quot;? operator&quot; (and until I made that post above, I didn't know of the wikipedia entry).  I always search for &quot;ternary operator&quot; and I always get the desired result.  Way back when I learned of this in school, it was taught as &quot;the ternary operator.&quot;</body>
  <body-html>&lt;p&gt;@ScroogeMcPump:  Correct, &lt;code&gt;?:&lt;/code&gt; isn't &lt;b&gt;the&lt;/b&gt; definitive ternary operator.  However, since (as you mention) it happens to be the only one, it is in that sense &quot;the&quot; ternary operator (or perhaps I should more thoroughly say &quot;&lt;b&gt;a&lt;/b&gt; definitive ternary operator&quot;).  I don't know of a better name for the thing, and any time I forget the syntax (which comes first, the huh or the colon?), I can't exactly run to google with a search for &quot;? operator&quot; (and until I made that post above, I didn't know of the wikipedia entry).  I always search for &quot;ternary operator&quot; and I always get the desired result.  Way back when I learned of this in school, it was taught as &quot;the ternary operator.&quot;&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-11-05T16:56:21Z</created-at>
  <forumable-id type="integer">3</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">17158</id>
  <topic-id type="integer">9492</topic-id>
  <updated-at type="datetime">2008-11-06T00:10:18Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">41779</user-id>
</post>
