comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: Problem space and solution space
Date: Thu, 29 May 2003 02:22:22 GMT
Date: 2003-05-29T02:22:22+00:00	[thread overview]
Message-ID: <3ED56ED3.8090100@attbi.com> (raw)
In-Reply-To: 5115eb96.0305271934.737445e1@posting.google.com

Amir Yantimirov wrote:

> The prime example of solution space thing is all sorts of
> container/collections libraries, generic or common root ones. So the
> lack of such standard libraries in Ada is a prooth of Ada's problem
> orientiness. :))

No, when developing the various libraries, the problem space is the 
class of all problems to which the solution can be mapped.

In a sense you are right though.  In Ada you tend not to have one sort 
package in your toolbox, or one list type implementation, you have 
several.  Now the programmer solving some problem sees a part of his 
decomposition that can be solved by a list package or a sort package, 
and does a generic instantiation.  The problem is that there is no easy 
way, in Ada, to express a binding to a member of the class of sort 
generics, but to delay the choice of the actual mapping.

This is why one of the features I expect interfaces to add to Ada is a 
better way of organizing collections of sort algorithms and the like.




  reply	other threads:[~2003-05-29  2:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28  3:34 Problem space and solution space Amir Yantimirov
2003-05-29  2:22 ` Robert I. Eachus [this message]
2003-05-29  2:56 ` Alexander Kopilovitch
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14  2:16 Alexandre E. Kopilovitch
2003-05-14  4:37 ` Robert I. Eachus
2003-05-19 11:02 ` Craig Carey
2003-05-13  1:40 Alexandre E. Kopilovitch
2003-05-13 10:56 ` Mário Amado Alves
2003-05-13 21:15 ` Simon Wright
replies disabled

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