> -----Original Message-----
> From: James Duncan Davidson [mailto:[EMAIL PROTECTED]
>
> I go back and forth on the theory of whether or not to explicitly
> import the
> classes or just the packages. There's good arguments on both sides of the
> fence -- lately, I've been leaning towards just importing the package and
> being done with it. If I run into a situtation where I've got namespace
> collision because of it, I probably need two distinct classes
> anyways... :)
>

I am in the explicit import camp :-). With the code being the documentation
to a large extent for both Tomcat and Ant, I find it easier to navigate
through the code if you can find what package a class comes from by looking
at the imports. For me it is less of a collision issue.

My last day job required it (based on Doug Lea's coding standard, I guess)
and I am used to it. I get by with a an editor that can do searches :-(

Just thought I'd provide a counterpoint.

Cheers
Conor

Reply via email to