Subject: RE: c-style question
To: Aaditya Rai <ARai@rhapsodynetworks.com>
From: Lord Isildur <mrfusion@umbar.vaxpower.org>
List: tech-kern
Date: 11/19/2001 21:48:38
while one can get away with the latter, the former is syntactically
correct.
Isildur
On Mon, 19 Nov 2001, Aaditya Rai wrote:
> >> In KNF, do we prefer either
> >>
> >> (*platform.cons_init)();
> >> or
> >> platform.cons_init();
> >>
> >> when cons_init is a function pointer?
>
> I personally prefer the latter :-) the fact that it is x.z() already makes
> it obvious that its a fn ptr. I do think that the former is a bit "noisy"
> (as someone pointed out)
> Aaditya.
>