[Tutor] global variables

Steven D'Aprano steve at pearwood.info
Thu Aug 22 17:37:44 CEST 2013


On 22/08/13 23:43, Matthew Ngaha wrote:
> On Thu, Aug 22, 2013 at 1:40 PM, Chris Down <chris at chrisdown.name> wrote:
>
>> It sounds like you want to use a class.
>> Why would you not just use a class if you want to store state?
>
> I don't feel my program needs a class. Also i have been told to stop
> using classes by some very experienced Python programmers on irc even
> though i don't see why. It's confusing being told different things.


If you're talking about #python on Freenode, in my experience, they are rude and unpleasant people with an inflated sense of their own intelligence. But they possibly think the same about me ;-)



-- 
Steven


More information about the Tutor mailing list