It's a beautiful problem to have--trying to decide how to organize your code into namespaces (and even classes) meaningfully. But it can also be paralyzing. I think I could sit here for hours debating the merits of one way of organization over another until I come up with the perfect approach. But then, I'd be wasting a lot of time.
So in order to avoid namespace paralysis and not waste time, here is one approach you can use to get past it and move on and yet leave it open to relatively easy change later. Group related code into one namespace and then use using (Import in VB) statements in the consuming code to use that namespace. Then if at a later time you find that perfect name for your space, you can change it and only need to update the using/Import statements. Of course, you run the risk of naming conflicts at that time, but this isn't the best of all possible worlds either. Deal with it.
Don't know if anyone else runs into this problem, but I'm in it now and need to move on, so here's my pep talk. Hope it helps some other overly analytical types like myself. :)
Disclaimer The opinions expressed herein are solely my own personal opinions, founded or unfounded, rational or not, and you can quote me on that.
Thanks to the good folks at dasBlog!
Copyright © 2008 J. Ambrose Little