J. Jones <jj@networld.com> wrote:
Yes, very likely to have using, although far from necessary.
All names should be fully qualified. The _editor_ should provide for
(automatic) name collapse while viewing, as well as provide intellisense and/or
auto-lookup for names as you type. For example, if you type "Form", the editor
automatically looks up in the referenced assemblies "Form" and prepends the
applicable namespace (System.Windows.Forms) and then collapses it down.
No matter how you look at it, using is a band-aid for lazy
programmers and/or poor IDEs.
Not the way I look at it :)
I like code to be readable (and writable) in just a plain text editor,
if necessary.
There's nothing to stop the IDE being smarter at managing the using
statements, however. Eclipse's JDT tooling would do the equivalent of
looking up Form in the appropriate assemblies, and adding a using
statement for you if there wasn't one already. (It also provides the
ability to remove using statements that aren't used any more, and
sort/organise those statements.) Very handy - but the code itself is
still the same.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too