A startup puzzle

Aahz aahz at pythoncraft.com
Mon Sep 29 17:54:16 EDT 2003


In article <vngnif6v8ip4c6 at corp.supernews.com>,
Edward K. Ream <edreamleo at charter.net> wrote:
>
>I've just about convinced myself there is no good, clean solution to the
>following puzzle.  I wonder if you agree.
>
>1. My app has a module called leoGlobals that contains often-used global
>functions.  All of Leo's source files start with:
>
>from leoGlobals import *
>
>I don't want to discuss whether this is good style: it is simple and it
>works well for me :-)

Okay, I won't discuss, I'll just tell you that this is a recipe for
giving yourself a headache.  Have fun.  ("Doctor, it hurts when I do
this."  "Well, stop doing that, then.")
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan




More information about the Python-list mailing list