Less commas

Simen kjaeraas simen.kjaras at gmail.com
Sun Jan 2 13:06:38 PST 2011


Peter Alexander <peter.alexander.au at gmail.com> wrote:

> That really surprises me that it's a common bug. Isn't it obvious that !  
> has higher precedence than &? Or have I totally misunderstood the cause  
> of the bug?

No, you got the cause right. However, how often are you actually
interested in doing (!foo)&bar?

The language can very well disallow such syntax, because most of the
time, it's not what you want it to do.

-- 
Simen


More information about the Digitalmars-d mailing list