comp.lang.ada
 help / color / mirror / Atom feed
From: rracine@AJPO.SEI.CMU.EDU
Subject: Limited Use Clause
Date: 6 Dec 88 16:26:40 GMT	[thread overview]
Message-ID: <8812061626.AA13093@ajpo.sei.cmu.edu> (raw)

Yet again the "use" clause is maligned.  I did not get the author or the
posting to include here, but the jist of the comment is that the 'use'
clause should not be used (no reasons were given) and a more specific
kind of 'use' clause should be available in Ada 9x.

That is beginning to be the same as the statement "Ada tasking is too slow."
People have said it so long (since it used to be true) that it is accepted
without any arguments.  Why not use the unrestricted 'use'?  The only
reason I have heard that can not be refuted is that it makes it hard to tell
where to find things in source code.  That argument is not a language issue,
however.  It is a Programming Support Environment issue.  The compiler
knows where the various procedures are declared.  Why can't it give us a
cross-reference listing at the end of each compilation?  

In the meantime, at least DEC has provided some tools that give some of
this functionality, and I believe that there are some PC-based tools that 
allow one to find references to identifiers.

Saying "Don't use 'use'" tells me a lot about a project.  It is not using
a sufficient APSE.  It has people who complain about Ada, since they 
probably have difficulty reading their code.  And they are probably behind
schedule, for similar reasons.

I hope this generates some discussion.

Roger Racine
C. S. Draper Laboratory, Inc.

             reply	other threads:[~1988-12-06 16:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-12-06 16:26 rracine [this message]
1988-12-06 19:12 ` Limited Use Clause Steve Tynor
1988-12-07  1:43 ` Michael Peirce
1988-12-07 18:12   ` Stephe Leake
1988-12-09 13:58   ` Burch Seymour
1988-12-07 17:59 ` Stephe Leake
  -- strict thread matches above, loose matches on Subject: below --
1988-12-17 21:56 Erland Sommarskog
1988-12-18 14:48 ` Dik T. Winter
1988-12-19 14:17 ` Steve Tynor
1988-12-10 23:13 Erland Sommarskog
1988-12-12 15:47 ` Steve Tynor
1988-12-05 23:39 Brian D. Nettleton @spot
1988-12-06 15:36 ` Steve Tynor
1988-12-07 17:54   ` Stephe Leake
replies disabled

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