using "private" parameters as static storage?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Thu Nov 13 23:41:09 EST 2008


On Thu, 13 Nov 2008 18:57:37 -0800, alex23 wrote:

> On Nov 14, 12:16 pm, Joe Strout <j... at strout.net> wrote:
>> Argh.  I've been back in the Python community for about a month, and
>> I've been continually amazed at how every single "how do I do X" or
>> "what do you think of this method of doing X" question is answered by
>> people on high horses claiming "you shouldn't do X".
> 
> If someone asked you how to hammer together a cabinet with a saw,
> wouldn't -you- respond with "don't use a saw"?
> 
> Suggesting the right tool for the job is hardly getting on a high
> horse...


If somebody asked me how to hammer together a cabinet with a regular 
carpenter's hammer, and I answered "Don't do that, anything less than an 
object-oriented Uber-Hammer is wrong", then they might be justified in 
thinking that I was full of it, particularly if I was unable to explain 
just why using a regular hammer was harmful.



-- 
Steven



More information about the Python-list mailing list