From: Fernando P. <fpe...@gm...> - 2010-06-03 15:43:18
|
I think it is good for readability. It's the first time that I see it ... :) On Thu, Jun 3, 2010 at 12:38 PM, Dean Michael Berris <mik...@gm... > wrote: > On Thu, Jun 3, 2010 at 11:34 PM, Fernando Pelliccioni > <fpe...@gm...> wrote: > > Perfect Duean, Great news!!! > > > > Only a question: > > > > Why not do > > > > if ( ! boost::iequals(parts.scheme.substr(0, 5), "https") ) > > > > instead of > > > > if ( not boost::iequals(parts.scheme.substr(0, 5), "https") ) > > > > ? > > > > Good question... I have no good answer except that the version with > the "not" reads better. > > It's a matter of taste -- I just might remove the 'not', 'and', and > 'or' keywords if I get tired of fighting it. ;) > > -- > Dean Michael Berris > deanberris.com > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > |