Since it has become rather quite here, let me throw in a new topic.
It's about a problem that, to the best of my knowledge, is not covered
by existing OO methods, but falls in the class of problems that OO was
designed to solve.
Suppose I have an algorithm for a specific problem, and an
implementation that works. Now I want to tackle a similar problem that
can be solved by a similar algorithm. All it takes is perhaps the
modification of one step, or the addition of one. I would like to be
able to "inherit" the working implementation while just replacing or
adding small parts of it. And of course I do not want to modify the
existing (supposedly well tested) code.
One possibility would be to write each step as a function and call
these function via pointers that can be substituted. But that would be
a very inefficient solution; what I want is fully optimized code for
all versions of the algorithm. So I would certainly need the source
code of everything.
Has any work been done on this kind of problem? Or is it a stupid
idea due to some limitations I have overlooked?
-- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@ibs.ibs.fr Laboratoire de Dynamique Moleculaire | Tel.: +33-4.76.88.99.28 Institut de Biologie Structurale | Fax: +33-4.76.88.54.94 41, av. des Martyrs | Deutsch/Esperanto/English/ 38027 Grenoble Cedex 1, France | Nederlands/Francais -------------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 03:20:05 EST