[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: New authorization library moved to kdereview
From:       "Martin T. Sandsmark" <sandsmark () samfundet ! no>
Date:       2009-07-23 5:18:58
Message-ID: 200907230718.59165.sandsmark () samfundet ! no
[Download RAW message or body]

On Thursday 23. July 2009 22:36:12 Albert Astals Cid wrote:
> My bad, i was informed on IRC that NULL vs 0 is not a "done" thing so it's
> left to coder to decide.

In Amarok 0 is preferred, fwiw:

	0 vs NULL
	---------
	The use of 0 to express a null pointer is preferred over the use of NULL.
	0 is not a magic value, it's the defined value of the null pointer in C++.
	NULL, on the other hand, is a preprocessor directive (#define) and not only 
	is it more typing than '0' but preprocessor directives are less elegant.


-- 
martin t. sandsmark

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic