From: Austin Ziegler Date: 2006-09-02T06:15:59+09:00 Subject: Re: When clever is stupid [RANT] On 9/1/06, Phrogz wrote: > The one exception I would list is something like a chained comparison. > For example, a JavaScript implementation of the spaceship operator: > > result = a>b ? 1 : a b ? 1 : (a < b ? -1 : 0)) That's clearer to me, at least. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca