note
BrowserUk
<blockquote><i></i></blockquote>
<p>That sort construction is (IMO) far more obscure and obfuscate than the ternary.
<P>As for [mod://List::Util]<c>::max()</c>; if I need to find the max() of a bunch (more than two) things, I use it, but -- just as my wife doesn't break out her food processor to slice a tomato for a sandwich -- for two items, the ternary construct is simple, efficient (and to me; clear). Perfect for the task at hand.
<div class="pmsig"><div class="pmsig-171588">
<hr />
<font size=1 >
<div>With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'</div>
<div>Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.</div>
<div>"Science is about questioning the status quo. Questioning authority". [http://www.bbc.co.uk/news/business-33609566|I knew I was on the right track :)]</div>
<div>In the absence of evidence, opinion is indistinguishable from prejudice. </div>
[http://www.theregister.co.uk/2015/01/19/got_bugs_got_anger_just_get_them_out_says_linus_torvalds/|I'm with torvalds on this] [http://vimeo.com/110554082|Agile (and TDD) debunked] [http://www.theregister.co.uk/2015/06/18/brendan_eich_announces_webassembly/|I told'em LLVM was the way to go. But did they listen!]
</font>
</div></div>
1137981
1137981