Re: [HEADS UP] rpm-4.12.90 in rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 29, 2015 at 5:08 PM, Mikolaj Izdebski <mizdebsk@xxxxxxxxxx> wrote:
> From C-style operators I would prefer single-character ones for two reasons:
>
> 1) Two-character operators may suggest short-circuit evaluation -
> "Requires: foo || bar" can be misunderstood as "require foo, or bar if
> and only if foo is not available", which is not how that works. There is
> no such problem with single-character operators. In other words,
> "|" and "&" operators are commutative, but "||" and "&&" are not.

Good catch, I intially think of this.

-- 

Yours sincerely,
Christopher Meng

http://cicku.me
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux