Re: [hackers] [ubase] Fix style issue || sin

From: sin <sin_AT_2f30.org>
Date: Thu, 6 Mar 2014 15:35:14 +0000

On Thu, Mar 06, 2014 at 04:32:14PM +0100, Roberto E. Vargas Caballero wrote:
> > I try to only use ! for pointers only. I also explicitly avoid using
> > != NULL with pointers.
> >
> > For everything else, including null-terminators I expand the check.
>
> For boolean variables (with bool or int type) is also a good choice, because
> makes clear the usage of them.

Yes I was mostly referring to ints/bools. Although in the past I was simply
using ! and never really writing !=0 I am trying to change that now. Habit
still creeps in sometimes.
Received on Thu Mar 06 2014 - 16:35:14 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 06 2014 - 16:36:25 CET