Variable argument lists.

Frank Adams franka at mmintl.UUCP
Wed May 18 00:19:56 AEST 1988


In article <504 at sas.UUCP> bts at sas.UUCP (Brian T. Schellenberger) writes:
>Thus, I seriously doubt that it "most of the power of the
>variable argument list is wasted."

Actually, I think the original statement is correct (at least if "most" is
interpreted as "the majority of").  But variable argument lists are in the
nature of a frill, not a necessity.  Even printf could be replaced quite
adequately by a series of calls, one to output each item or bit of
intervening text.  Such a protocol seems horrible the first time you
encounter it, but after just a little experience you realize that it is not
appreciably worse than the other approach.
-- 

Frank Adams                           ihnp4!philabs!pwa-b!mmintl!franka
Ashton-Tate          52 Oakland Ave North         E. Hartford, CT 06108



More information about the Comp.lang.c mailing list