|
Re: Importing classes
Java books, especially books designed for classroom style learning are particular about these things because they want you to develop proper programming habbits. By specifically listing the class name and not just the package name your code is clearer to someone else who may have to work with it in the future. It seems in the real world of programming, there are more coders rewriting someone's old code than there are people writing code from scratch.
__________________
"Either write something worth reading or do something worth writing."
-Benjamin Franklin
Last edited by Shaythen; Mar 19th, 2008 at 1:47 PM.
Reason: typos ><
|