There's a lot of weird lore around use of C nowadays, a lot of it in my experience from folks who come from Java. But this w & MASK discussion is one of the weirder ones.For me one of the worst is the 80-column requirement that came from out of I don't know where. Let's see, we're all getting 4k monitors, and yet somehow80 columns is how we have to write code? Hollerith would be proud.On Wed, Nov 8, 2017 at 11:05 AM Larry McVoy <lm@mcvoy.com> wrote:On Wed, Nov 08, 2017 at 06:14:20PM +0000, Ralph Corderoy wrote:
> is better then why stop there? Why not
>
> if (((w & MASK) != FALSE) == TRUE)
Thanks for this, that's the perfect come back to the pedantic folks.