NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
import-on-demand is not a best practice (Score:1)
is generally considered bad practice, good only at quick-and-dirty code. Tools like Eclipse help expand these evil statements into qualified imports after compiling and resolving the class names in the current source file.
Some of the problems are mentioned at http://javadude.com/tools/importifier/ [javadude.com]
Re: (Score:2)
You know, I think you make a compelling argument. I'll have to consider this and I might just drop the idea.
Re:import-on-demand is not a best practice (Score:1)
You really should only call what you need and if you do somthing like Our::Code::*; You may be surprised by what you are importing (whether you did it intentionally or not).
Reply to This
Parent