Linked by Thom Holwerda on Mon 13th Dec 2010 19:27 UTC, submitted by lemur2
Thread beginning with comment 453443
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Some things to consider
by ushimitsudoki on Tue 14th Dec 2010 10:57
in reply to "RE[2]: Some things to consider"




Member since:
2005-10-23
My point is that 'user Some.Namespace' adds *nothing* to your application. It's merely a convenience to save keystrokes later. It does *not* add a reference to any assembly or include any code what so ever.
But, as you point out in #1:
If you are doing 'using Foo' and then call method 'Bar.Baz()' in the foo namespace then obviously you are using functionality from Foo.Bar. But that wasn't what the original article searched for. He only scanned for 'using' statements.
Regarding #2. Visual Studio does, and my guess is that MonoDevelop does as well. In most cases that's what you want anyway and since it doesn't do any harm (except perhaps naming collisions when you start using more namespaces) it doesn't ask you beforehand.
Look, I'm not arguing that these apps aren't using these "tainted" namespaces, I'm just questioning the methods used to come to that conclusion.