Guido van Rossum wrote:
> int, str, float and a few others were
> *functions* before Python 2.2, like len, id etc. still are. We turned
> int etc. into builtin types

I think this illustrates that any convention which assigns
different case to functions and classes can only ever be
a heuristic in Python and not a hard-and-fast rule, since any
class could become a factory function later or vice versa.

Although it's inconsistent, it somehow seems right that the
most fundamental things you use all the time should have
names that are easy on the eyes and fingers.

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to