# from David E. Wheeler
# on Tuesday 13 November 2007 10:26:

>Dude. Don't you put all of your code in modules and make bin/foo a  
>thin wrapper around those modules? ;-)

Not always, and certainly not with really short utilities where the 
solution (or at least the first crack at it) is fully-formed and 
stopping to think of a namespace is a distraction.

I do write them in a way that can be easily refactored later.  But 
that's just good practice.

The bigger issue is that CPAN has no way to address and distribute 
scripts with prerequisites and/or tests.

--Eric
-- 
But you can never get 3n from n, ever, and if you think you can, please
email me the stock ticker of your company so I can short it.
--Joel Spolsky
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to