Proposal for SAMBA_3_0/README.Coding
Gerald (Jerry) Carter
jerry at samba.org
Wed Jun 27 21:40:45 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Metze,
> what is the rule with
>
> if ( foo != 0 ) vs. if (foo != 0)
> and
> if ( ! foo ) vs. if (!foo)
>
> I really like the 2nd varint much more and that's what
> all the code in samba4 and the linux kernel uses. But in
> the last time I saw the 1st variant was used in
> samba3 sometimes.
The second variant is now king by default from the lk style.
The first variant was my fault but I have not now joined
the converted for the sake of consistency.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGgtlcIR7qMdg1EfYRAq4xAKDuKBEUrLJ3+WZ9IPx5J7lffcDU8gCgk0+w
w5wbXIzJg6GYbOQJMZ3wlSY=
=brPc
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list