From: "ara.t.howard" Date: 2008-04-13T10:36:13+09:00 Subject: Re: Designing Namespaces On Apr 11, 2008, at 11:13 AM, Robert Dober wrote: > Very interesting approach Ara, allow me to express some skepticism > about the shortcut delivering either the class or an instance of it. > The idea is sure enough brilliant as a solution to name pollution, I > wonder however if it is not a maintenance trap... > Now if it became a well known pattern this danger would go away. In > order to easier recognize the pattern I would suggest to use > Capitalized names for your shortcut/factory methods. How does that > feel? i've gone back and forth a few times Foo.Bar throws my brain for a loop though, so i've tended toward Alib.util.snakecase 'FooBar' but i'm not religious about it... cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama