C (129/207)

From:Allan Odgaard
Date:20 Dec 99 at 07:54:33
Subject:Stupid operator precedence...

From: Allan Odgaard <Duff@DIKU.DK>

Hi there,

It has always nagged me that == and != take precedence over &, ^ and |. Surely
one never wants to perform bit-operations on a boolean result (except maybe ^,
as there are no logical exclusive or, another thing that frustrates me...) but
I thought my life would probably be better if someone was able to give me a
good reason to why this decision was made? Thanks in advance...

Regards Allan



URL: http://www.DIKU.dk/students/duff/


Did you ever notice how fast Windows runs? Neither did I...