On 2007-06-28, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> Stef Mientki a écrit :
>> How can I list a type of an object instance ?
>> 
>> I tried:
>> 
>> class tLED (tDevice):
>
><ot>
> Do yourself (and the world) a favour and give up hungarian notation... 
> This should be:
>
> class Led(Device):
>     #...

Using a naming convention for class objects, e.g., camel-case, is
a practice very similar to hungarian notation.

I would've said something like: start learning the Python
community's naming conventions, and use those instead of
inventing your own.

-- 
Neil Cerutti
It will work out, somehow. That's a hell of a duo right there, Marbury,
Crawford and Houston. --Carmelo Anthony
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to