comp.lang.ada
 help / color / mirror / Atom feed
From: claveman@inetworld.net (Charles H. Sampson)
Subject: Re: 'with'ing and 'use'ing
Date: 2000/03/06
Date: 2000-03-06T00:00:00+00:00	[thread overview]
Message-ID: <1e73gx5.tnnxg5v1q24gN%claveman@inetworld.net> (raw)
In-Reply-To: 8a0hio$qos$1@nnrp1.deja.com

Ted Dennison <dennison@telepath.com> wrote:

> In article <1e6xw1b.crkgd5nhvbzuN%claveman@inetworld.net>,
>   claveman@inetworld.net (Charles H. Sampson) wrote:
> >      M. Rosen modestly omits that he wrote a very good paper several
> > years ago arguing in favor of the use clause.  While I was already a
> > strong use-phile before reading the paper, it clarified a number of
> > ideas that I had understood only instinctively.  I haven't read it in
> 
> I read that too. It seems to me that the whole argument hinged on the
> availability of tools to find declarations automaticly. So we are really
> talking in circles here.
> 
     Not really.  Here are his conclusions, quoted directly from the 
paper:

          We have argued here that the use clause, which allows 
     short names to be used in the usual case, improves readabil-
     ity, reliability, maintainability, and abstraction. The use of 
     expanded names has to be allowed for some special cases, but 
     not as the normal case.

          Of course, like any other feature, the use clause can be 
     abused of... and I don't know of any feature, even in Ada, 
     where this is not true . But apart from pathological cases, 
     reasonable use of the use clause provides more information to 
     the reader, and should be recommended as the usual practice.

The only place where he used the tools argument was in refuting (that's
too strong a word) the common argument that we need fully qualified 
names in order to be able to find an identifier's declaration easily.

                                Charlie

-- 
     To get my correct email address, replace the "claveman" by
"csampson" in my fake (anti-spam) address.




  parent reply	other threads:[~2000-03-06  0:00 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-29  0:00 'with'ing and 'use'ing Roger Hoyle
2000-02-29  0:00 ` Jeffrey Carter
2000-02-29  0:00   ` Brian Rogoff
2000-03-01  0:00     ` Jean-Pierre Rosen
2000-03-02  0:00       ` Charles Hixson
2000-03-02  0:00         ` Robert A Duff
2000-03-02  0:00           ` Ted Dennison
2000-03-02  0:00             ` Charles Hixson
2000-03-02  0:00               ` David Starner
2000-03-03  0:00                 ` Ted Dennison
2000-03-07  0:00                   ` Nick Roberts
2000-03-03  0:00                 ` Jeff Carter
2000-03-03  0:00                   ` David Starner
2000-03-04  0:00                     ` Simon Wright
2000-03-03  0:00               ` Larry Kilgallen
2000-03-03  0:00               ` Marin D. Condic
2000-03-03  0:00                 ` Scott Ingram
2000-03-04  0:00                   ` Simon Wright
2000-03-04  0:00               ` Robert Dewar
2000-03-04  0:00                 ` Ehud Lamm
2000-03-06  0:00                 ` Charles Hixson
2000-03-06  0:00                   ` Robert Dewar
2000-03-03  0:00       ` Charles H. Sampson
2000-03-04  0:00         ` Jean-Pierre Rosen
2000-03-06  0:00         ` Ted Dennison
2000-03-06  0:00           ` Robert Dewar
2000-03-07  0:00             ` Ted Dennison
2000-03-08  0:00               ` Robert Dewar
2000-03-11  0:00                 ` Robert A Duff
2000-03-06  0:00           ` Charles H. Sampson [this message]
2000-03-07  0:00             ` Stuart Palin
2000-03-08  0:00               ` Robert Dewar
2000-03-09  0:00                 ` Stuart Palin
2000-03-06  0:00           ` Ted Dennison
2000-03-06  0:00             ` Robert Dewar
2000-03-07  0:00               ` Ted Dennison
2000-03-07  0:00               ` Marin D. Condic
2000-03-06  0:00             ` Robert A Duff
2000-03-06  0:00               ` tmoran
2000-03-07  0:00             ` Marin D. Condic
2000-02-29  0:00 ` Robert A Duff
2000-02-29  0:00   ` Ted Dennison
2000-03-01  0:00   ` Robert Dewar
2000-02-29  0:00 ` David Starner
2000-02-29  0:00 ` Ted Dennison
2000-03-01  0:00   ` Robert Dewar
2000-03-01  0:00     ` Ted Dennison
2000-03-01  0:00       ` Robert Dewar
2000-03-01  0:00         ` Ted Dennison
2000-03-01  0:00           ` Wes Groleau
2000-03-02  0:00             ` Robert Dewar
2000-02-29  0:00 ` xl
2000-02-29  0:00   ` Jeffrey Carter
2000-02-29  0:00     ` xl
2000-03-01  0:00   ` Roger Hoyle
replies disabled

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