*Minor* python usability proposal
Aahz
aahz at pythoncraft.com
Wed Feb 12 11:20:51 EST 2003
In article <mailman.1045063972.2755.python-list at python.org>,
Eron Lloyd <elloyd at lancaster.lib.pa.us> wrote:
>
>One nit I've sort of had was the syntax for declaring functions
>and methods. The keyword "def" seems to me to be anti-intuitive
>compared to other declarative keywords, such as "class" (which is more
>descriptive). What I would like to ask the Python community is whether
>a more explicit naming of "function" for global function definitions
>and "method" for class method definitions would be desirable enough to
>implement.
That would be a Bad Idea because there is no difference between
functions and methods. (Yes, I know about all the ways in which my
statement is not true, but it's much more true than false.)
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list