Re: Order of cluster searching with ace file (recent snapshot)

"Cyril ADRIAN" <[email protected]> Thu, 14 Dec 2006 08:20:39 +0100
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Hi Raphael,

On 12/13/06, Raphael Mack <[email protected]> wrote:
> Is it possible to have two classes with the same name in the system? E.
> g. is the distance calculated to EACH class using a dedicated type? Or
> is ONE class chosen for the complete application?

The distance is the distance between a client class and its supplier.
So yes, it is calculated every time a class is needed. Therefore there
can be more than one class with the same name in the system.

> And now, as I disqualified, I add a (also half baked) suggestion to
> solve the "same nesting level"-problem:
> Everywhere we list a cluster (ace/laodpath file, perhaps even command
> line) an additional number can be provided, which gives a weight to the
> distance within the path (not fs-path, but cluster-path). Leaving out
> all these numbers set them to 1, and leads to the behavior as it is now
> (with the advanced search algorithm.)

Why not. Your idea avoids the whole "renaming" problem which is like a
rose flower: looks pretty, but has thorns on all sides (I know because
I tried).

Best regards,
--=20
Cyril ADRIAN - http://www.cadrian.net/~cyril

Vt Sol inter planetas,
Ita MVSICA inter Artes Liberales
in medio radiat
-- Heinrich Sch=FCtz, 1640