Subject: RE: c-style question
To: None <tech-kern@netbsd.org>
From: Aaditya Rai <ARai@rhapsodynetworks.com>
List: tech-kern
Date: 11/19/2001 18:43:56
-----Original Message-----
From: christos@zoulas.com [mailto:christos@zoulas.com]
Sent: Monday, November 19, 2001 6:32 PM
To: tech-kern@netbsd.org
Subject: Re: c-style question


In article <tkrwv0mgs7l.fsf@parity-error.sm.sony.co.jp>,
enami tsugutomo <enami@sm.sony.co.jp> wrote:
>Simon Burge <simonb@wasabisystems.com> writes:
>
>> 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.