[log in to unmask] (Robin Reaganwrote:

>I've started a new project on my own and I am trying to use as much
>reusable code as possible. The problem (actually more of an
>annoyance) I'm running into is that most of the code I'm trying to
>reuse, has a "use" statement for each "with" statement. When trying
>to debug or just understand what is going on in someone else's code,
>it makes it more difficult to trace where things are coming from
>when the "use" is added for no apparent reason then the convenience
>of typing fewer characters.
>For those of you that are distributing reusable code, you might want
>to think about this as it makes your code less readable/reusable
>when there are "use" statements for each "with" (IMHO).

There are (at least) two schools of thought in this area,
so the concept of reusing components that were developed
under a different style is bound to lead to a conflict of
style.  Of course in an ideal world, those components you
reuse will just work perfectly and not require debugging :-)

The nice thing about Ada is that "use" clauses within the
reused code do not require you follow the same style in your
own code.