A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/046795.html below:

[Python-Dev] Re: 2.4a2, and @decorators

[Python-Dev] Re: 2.4a2, and @decoratorsJim Fulton jim at zope.com
Wed Aug 4 16:31:57 CEST 2004
Andrew McNamara wrote:
>>>An advantage of the
>>>@ syntax is than it makes the complexiity separable and ignorable for
>>>someone learning/teaching basic Python,
>>
>>I don't agree that they are ignorable.  People will see them in code
>>and will *have* to understand what they mean.  Given sme examples
>>I've seen here, this will sometimes be a significant chalenge.
> 
> 
> There are a number of "advanced" features in python that could be a
> barrier to understanding for new users, but which are rarely seen in
> practice - metaclasses being the classic example.
> 
> I imagine these features are rarely seen because most people don't
> understand them, and those that do have the good taste not to use them
> gratuitously.

This feature won't be rarely used.  Class and static methods
and properties are created fairly often, certainly far more often
than meta classes.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4