[HEADS UP] rpm-4.12.90 in rawhide

Christopher Meng i at cicku.me
Wed Jul 29 09:20:18 UTC 2015


On Wed, Jul 29, 2015 at 5:08 PM, Mikolaj Izdebski <mizdebsk at redhat.com> 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


More information about the devel mailing list