comp.lang.ada
 help / color / mirror / Atom feed
From: Peter Hermann <ica2ph@iris16.csv.ica.uni-stuttgart.de>
Subject: Re: with child: access to parent
Date: 2 Oct 2001 16:14:41 GMT
Date: 2001-10-02T16:14:41+00:00	[thread overview]
Message-ID: <9pcp5h$9u3$1@infosun2.rus.uni-stuttgart.de> (raw)
In-Reply-To: 3BB9DAA4.42A3937A@sparc01.ftw.rsc.raytheon.com

Wes Groleau <wwgrol@sparc01.ftw.rsc.raytheon.com> wrote:
> Some style guides suggest _always_ listing the parent specifically
> if anything in it is referenced.  I guess the idea is to prevent
> compile errors if the child references are removed.  But how many
> places actually take the trouble of removing unused withs?  And
> what is the more expensive way to find the need to add one--to
> carefully eyeball the code, or to compile and look at the messages?

Of course it is a welcome convenience to save a couple of "with"s.
An advanced binder/linker will automagically leave out heavy-weight
unused parts of executable code, anyway.
For readable programs I am considering a largely use-less style
more favorable than the above (style-) rule.

-- 
Peter Hermann Tel+49-711-685-3611 Fax3758 ica2ph@csv.ica.uni-stuttgart.de
Pfaffenwaldring 27 Raum 114, D-70569 Stuttgart Uni Computeranwendungen
http://www.csv.ica.uni-stuttgart.de/homes/ph/
Team Ada: "C'mon people let the world begin" (Paul McCartney)



  reply	other threads:[~2001-10-02 16:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 10:06 with child: access to parent Peter Hermann
2001-10-02 10:49 ` Pat Rogers
2001-10-02 12:53   ` Marc A. Criley
2001-10-02 14:25     ` Peter Hermann
2001-10-02 14:44       ` Pat Rogers
2001-10-02 14:10   ` Peter Hermann
2001-10-02 14:17     ` Ted Dennison
2001-10-02 15:17       ` Wes Groleau
2001-10-02 16:14         ` Peter Hermann [this message]
2001-10-12 13:58         ` Simon Wright
2001-10-02 14:22     ` Pat Rogers
2001-10-08 10:51       ` Jean-Pierre Rosen
2001-10-11 15:07         ` Peter Hermann
2001-10-11 14:54           ` Pat Rogers
2001-10-03  0:34     ` dale
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox