From: Marin David Condic <nobody@noplace.com>
Subject: Re: maximum number of lines per spec (was: Bases 1.52)
Date: Sat, 13 Sep 2003 12:18:04 GMT
Date: 2003-09-13T12:18:04+00:00 [thread overview]
Message-ID: <3F630AF4.5090203@noplace.com> (raw)
In-Reply-To: 17eddf9f.0309120949.2868f601@posting.google.com
I generally don't like arbitrary length constraints, but if you have to
have one, why not aim for something a little more "functional" rather
than number of lines? Say that a spec should not include more than a
dozen types or two dozen subprograms as a goal - and overshooting the
goal only means review & justification?
MDC
M�rio Amado Alves wrote:
>
>
> You're right in principle of course, but the problem is that the
> problem is not perfectly defined a priori in the case of containers
> i.e. the range of possible extensions of the problem is still wide and
> saying 50 lines is one way of focusing on one region of that range.
>
> Ada.String.Unbounded is so big because of all the (a) combinations
> with String and Character for construction and conversion, and (b)
> pairs procedure/function for the same operation. In the case of a
> generic container package (a) is reduced if not eliminated. And (b)
> is not essential, and can be rethinked considering other forces at
> play (including desired sizes).
>
> All existing generic container packages have an essential signature
> that fits well within 50 lines.
>
> Anyway you're right if you permit the future standard to be any number
> of pages long. Just note there might be objections to this from the
> educational world at least. I for one.
>
> Another force at play here is the general proposal to have a *minimal*
> standard and a *big* Conventional Ada Library (outside the standard
> but supported by a strong coalition of users and compiler vendors).
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/
Send Replies To: m c o n d i c @ a c m . o r g
"In general the art of government consists in taking as
much money as possible from one class of citizens to give
to the other."
-- Voltaire
======================================================================
next prev parent reply other threads:[~2003-09-13 12:18 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-02 18:59 Bases for the Design of a Standard Container Library for Ada Mário Amado Alves
2003-09-03 20:30 ` Warren W. Gay VE3WWG
2003-09-03 21:07 ` David C. Hoos
2003-09-04 2:19 ` Randy Brukardt
2003-09-04 11:56 ` Mário Amado Alves
2003-09-05 3:55 ` Randy Brukardt
2003-09-05 5:17 ` Matthew Heaney
2003-09-05 11:45 ` Amado Alves
2003-09-05 19:40 ` Randy Brukardt
2003-09-05 15:10 ` Martin Krischik
2003-09-07 18:03 ` Matthew Heaney
2003-09-08 12:54 ` Mário Amado Alves
2003-09-08 17:02 ` Bases 1.57 Martin Krischik
2003-09-08 17:07 ` Bases 1.58 Martin Krischik
2003-09-09 16:37 ` Bases 1.52 Martin Krischik
2003-09-10 7:49 ` Mário Amado Alves
2003-09-11 15:03 ` Martin Krischik
2003-09-12 10:58 ` Mário Amado Alves
2003-09-12 13:05 ` Martin Dowie
2003-09-12 17:49 ` maximum number of lines per spec (was: Bases 1.52) Mário Amado Alves
2003-09-13 12:18 ` Marin David Condic [this message]
2003-09-12 15:36 ` Bases 1.52 Martin Krischik
2003-09-14 6:51 ` Matthew Heaney
2003-09-14 14:32 ` Martin Krischik
2003-09-14 18:22 ` Robert I. Eachus
2003-09-14 22:56 ` Nick Roberts
2003-09-15 0:17 ` Robert I. Eachus
2003-09-14 6:45 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox