From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: Function Calls by Address
Date: 1999/09/05
Date: 1999-09-05T00:00:00+00:00 [thread overview]
Message-ID: <Pine.BSF.4.10.9909051939160.23275-100000@shell5.ba.best.com> (raw)
In-Reply-To: 37D2F41D.AE1C85F5@magic.fr
On Mon, 6 Sep 1999, Francois Godme wrote:
> There are two kinds of nested procedures: the ones which do not make
> uplevel references and the others which do. You gain possible reuses by
> unnesting the former.
I generally don't nest when there are no uplevel references.
> You gain clarity by rewritting the latter to avoid the uplevel references.
I find it much clearer when subprograms have few arguments. I speak from
my experience here, as a C programmer :-). The ability to nest
subprograms is a very good thing, for all of the reasons mentioned, and
because it leads to clearer programs.
> All the hidden parameters as well as their
> passing modes are then shown. What was previously written has a function
> is now correctly expressed as a procedure if for example one uplevel
> reference was modified.
Correctness has nothing to do with it. Do you consider any side-effecting
of global (package level) variables in a function incorrect?
-- Brian
next prev parent reply other threads:[~1999-09-05 0:00 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-30 0:00 Function Calls by Address Craig Jameson
1999-08-30 0:00 ` Marin David Condic
1999-08-30 0:00 ` Marin David Condic
1999-08-30 0:00 ` Larry Kilgallen
1999-08-30 0:00 ` Robert Dewar
1999-08-30 0:00 ` Robert Dewar
1999-08-31 0:00 ` Martin Gangkofer
1999-08-30 0:00 ` Robert Dewar
1999-08-31 0:00 ` Matthew Heaney
1999-08-31 0:00 ` David Kristola
1999-09-01 0:00 ` Simon Wright
1999-09-02 0:00 ` Francois Godme
1999-09-03 0:00 ` Robert Dewar
1999-09-03 0:00 ` Francois Godme
1999-09-03 0:00 ` Marin David Condic
1999-09-14 0:00 ` Robert I. Eachus
[not found] ` <wcc3dwgb7ii.fsf@world.std.com>
[not found] ` <37E81079.CC2566D9@mitre.org>
1999-09-22 0:00 ` Robert A Duff
1999-09-22 0:00 ` Robert I. Eachus
1999-09-23 0:00 ` Robert Dewar
1999-09-23 0:00 ` Robert A Duff
1999-09-03 0:00 ` David C. Hoos, Sr.
1999-09-04 0:00 ` Robert Dewar
1999-09-05 0:00 ` Francois Godme
1999-09-06 0:00 ` Robert Dewar
1999-09-06 0:00 ` Francois Godme
1999-09-06 0:00 ` Robert Dewar
1999-09-06 0:00 ` Bob Collins
1999-09-07 0:00 ` Pascal Obry
1999-09-06 0:00 ` Robert Dewar
1999-09-07 0:00 ` Pascal Obry
1999-09-07 0:00 ` Francois Godme
1999-09-08 0:00 ` Francois Godme
1999-09-03 0:00 ` Simon Wright
1999-09-03 0:00 ` Robert Dewar
1999-09-03 0:00 ` Ted Dennison
1999-09-04 0:00 ` Jean-Pierre Rosen
1999-09-05 0:00 ` Matthew Heaney
1999-09-05 0:00 ` Ehud Lamm
1999-09-04 0:00 ` Brian Rogoff
1999-09-05 0:00 ` Robert Dewar
1999-09-05 0:00 ` Robert Dewar
1999-09-05 0:00 ` Robert Dewar
1999-09-04 0:00 ` Mario Klebsch
1999-09-05 0:00 ` Robert Dewar
1999-09-06 0:00 ` Francois Godme
1999-09-05 0:00 ` Brian Rogoff [this message]
1999-09-06 0:00 ` Robert Dewar
1999-09-08 0:00 ` Georg Bauhaus
1999-09-05 0:00 ` Geoff Bull
1999-09-07 0:00 ` Michael F. Yoder
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox