Directories are not Java source file package names

Directories are not Java source file package names

A strange rant by Gregg, he is correct that you don’t need to have your java source code in a directory structure that matches the package names. But if you don’t how do the humans find the source files? When you see “import org.visres.common.xyz” how do you know where to find it without using the directory name from the package?

Also it is really odd to still find developers not using jikes as their compiler, it knocks a huge amount off compilation. It also gives much better and fuller warnings, and of course is free software.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>