Sujet : Re: question about nullptr
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 11. Jul 2024, 03:38:30
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6ngj6$29e0c$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Pan/0.158 (Avdiivka; )
On Mon, 8 Jul 2024 11:08:53 +0200, Janis Papanagnou wrote:
To me it's more likely that because of that it had been deliberately
added to support such desires, and less likely that the C-standards
folks need to learn "C" and wouldn't know what 0 as a pointer value
would mean or that it has a clear semantic in such pointer contexts.
Back in the 1980s: “I like C because it’s not Pascal.”
And now: yet another Pascal feature added to C.
Of course, we called it “nil” in Pascal. Which is a name that comes from
Lisp.