[net.lang.c] by-ref parameters

zben@umd5 (Ben Cranston) (08/27/86)

In article <2400@ihlpg.UUCP> tainter@ihlpg.UUCP (Tainter) writes:

> The win for by-reference parameters is the syntax of their use in the callEE.
> I do extensive personal programming in pascal and C.  When rereading pascal
> with by-reference parameters I do at times lose track of what is a var
> parameter at the callER level but never at the callEE level.  C fixes this
> but at the expense of excessive clutter and confusion with pointers inside
> the callEE.

I work extensively with a Sperry language called Plus.  It requires reference
arguments to be marked (with a percent sign) in BOTH places.  When I started
it seemed redundant, but it is interesting that it makes *sure* you know in
*both* contexts what is going on...
-- 
                    umd5.UUCP    <= {seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben
Ben Cranston zben @ umd2.UMD.EDU    Kingdom of Merryland Sperrows 1100/92
                    umd2.BITNET     "via HASP with RSCS"