by-ref parameters
Ben Cranston
zben at umd5
Wed Aug 27 08:56:59 AEST 1986
In article <2400 at ihlpg.UUCP> tainter at 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"
More information about the Comp.lang.c
mailing list