[thelist] Coning conventions, pet peeves
volkan.ozcelik at gmail.com
Thu Apr 28 14:19:40 CDT 2016
> By putting the comparison the other way around - making sure that the
thing to the left of the operator is not an lvalue - you make it harder to
make this mistake.
Yup that’s the reason.
Rest assured, Arabs don’t read code right to left :)
You can see  for a detailed discussion on the subject matter.
: "Yoda Conditions" http://www.wikiwand.com/en/Yoda_conditions
On Thu, Apr 28, 2016 at 11:33 AM Jason Handby <jason.handby at corestar.co.uk>
> > By putting the comparison
> > the other way around - making sure that the thing to the left of the
> > is not an lvalue - you make it harder to make this mistake.
> ("lvalue" just means something that can legitimately go on the left of an
> assignment operator.)
> * * Please support the community that supports you. * *
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
More information about the thelist