Philip Levis wrote:
On Nov 8, 2006, at 5:51 PM, Michael Schippling wrote:
It's not "duplication", it's overloading...
I haven't done an exhaustive search, but each of
the same-named files/modules has different behavior --
mostly due to platform or protocol differences.
Care to re-invent C++ using directories instead of name-spaces?
Except that the names are unique. It's just like changing the -I or -L
directives in C to include different header files or libraries.
Well yes...but they are secret -I and -L directives, which certainly
took me by surprise and seems to be a constant source of confusion.
For instance, I don't recall seeing anything in the general doc or tutorial
that mentions that there is an implicit search order that includes all the
mica derived platform directories. When one is trying to navigate the
source without benefit of a tightly coupled IDE (which I still have not
found...probably due to lack of trying...), it's akin to looking at good
old 'C' without having ctags or grep...
I probably already asked and was answered, but:
Is the 'automagic' search order documented someplace obvious?
A long time ago we talked about adding something like packages or
namespaces to nesC, and decided that it's a feature that is best
introduced when it's sorely needed. Otherwise it's very easy to come up
with a variant that doesn't actually solve the problems that emerge.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help