FEEDBACK WANTED: Type/class unification

Emile van Sebille emile at fenx.com
Wed Aug 1 16:36:03 EDT 2001


How about meta?

--

Emile van Sebille
emile at fenx.com

---------
"Christian Tanzer" <tanzer at swing.co.at> wrote in message
news:mailman.996692948.4512.python-list at python.org...


arg-name   pro                             con
--------------------------------------------------------------------
class      obvious meaning                 clash with keyword

Class      obvious meaning                 case sensitive

cls        BDFL's choice                   pronunciation, non-obvious

clas       closest to class                non-obvious

self       standard convention             confusion between instance
                                           and class methods

Self       follows a common convention     case sensitive
           (class name capitalized,
           instance name lower case)

type       obvious meaning                 clash with builtin

cat        cute (class and type)           cute, non-obvious acronym


I'm glad that nobody proposed `class_` yet :-)

As the first argument can immediately signify a class method if the
same name is used by everybody it would be nice if an uncontentious
name popped up.

--
Christian Tanzer                                         tanzer at swing.co.at
Glasauergasse 32                                       Tel: +43 1 876 62 36
A-1130 Vienna, Austria                                 Fax: +43 1 877 66 92






More information about the Python-list mailing list