New authorization library moved to kdereview

Martin T. Sandsmark sandsmark at samfundet.no
Thu Jul 23 06:18:58 BST 2009


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





More information about the kde-core-devel mailing list