Re: [PATCH] Choose syntax
- From: Pavel Tsekov <ptsekov gmx net>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [PATCH] Choose syntax
- Date: Tue, 12 Jul 2005 14:32:58 +0300
Hello,
On Tue, 12 Jul 2005, Leonard den Ottolander wrote:
> > ... as well as any suggestions to use gboolean when a variable is
> > clearly meant to be of a boolean type ...
>
> As I said, ignoring any suggestion to use NULL, TRUE or FALSE (for now).
> I'm quite comfortable with using 0, !0 and 0 instead :-p .
It is good to get used to what Roland suggests i.e. strcmp() == 0
instead of !strcmp(). If you have programmed in Java for example you'd be
forced to use this construct. Also C++ background could convince you that
this is the better way.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]