Message-Id: <1.5.4.32.19970731135539.006a59f0@dce03.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 31 Jul 1997 10:55:39 -0300 To: Erik Max Francis , djgpp AT delorie DOT com From: Cesar Scarpini Rabak Subject: Re: Function pointers (was ...) Precedence: bulk At 08:44 30/07/97 -0700, Erik Max Francis wrote: > int (*fp)(void); > > fp(); > (*fp)(); > (********************fp)(); > >The latter call through a function pointer is, believe it or not, >perfectly good ANSI C. ^^^^ I would rather agree if the wording was 'sintactically correct', 'cause _good_ code should (at least in theory) generate a correct, preferable eficient binary, but also be clear for humans to read and ease the maintenance of the code. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-3522 Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~