En Fri, 11 May 2007 17:37:48 -0300, <[EMAIL PROTECTED]> escribió:

> I see that naming conventions are such that classes usually get named
> CamelCase. So why are the built-in types named all lowercase (like
> list, dict, set, bool, etc.)?

Because most of them originally were types and factory functions, not  
classes - and a naming convention is not a strong reason to make backwards  
incompatible changes.
A different example: the new builtin type `set` is based on (altough not  
exactly equal to) the Set class from the sets module

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to