[bind10-dev] [bikeshed] "variable == value" vs "value == variable"

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Fri Mar 23 17:16:21 UTC 2012


At Fri, 23 Mar 2012 10:50:13 +0100,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:

> >    if (10 == x) {
> 
> Do we really have this in our code? That looks strange to me and confusing.

Probably (hopefully) not in the latest master.  But there were some in
the past, e.g.
- the master immediately after #1600 was merged.  checkout 77ab7a and
  see asiodns/dns_service.cc.
- a previous version of trac1579.  checkout 29e01b and see
  database.cc:findInternal().

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


More information about the bind10-dev mailing list