Re: using literal zero for NULL
- From: Enrico Weigelt <weigelt metux de>
- To: gtk-devel-list gnome org
- Subject: Re: using literal zero for NULL
- Date: Wed, 22 Mar 2006 17:12:08 +0100
* Jon A. Cruz <jon joncruz org> schrieb:
> >I've never worked out why anybody needs to type "0" when they could
> >type
> >"NULL". Given all the random segfaults, and type errors, and
> >readability
> >concerns and whatnot, are your fingers _really_ that lazy?
>
> Some of it is more of a C++ thing, rather than pure C. And there was,
> at least for a while, a period where using 0 for C++ solved a lot
> more problems.
In other words: people used broken C++ compilers ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact metux de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]