Decorators: an outsider's perspective
Paul Morrow
pm_mon at yahoo.com
Mon Aug 16 20:58:47 EDT 2004
Chas Emerick wrote:
>
> On Aug 15, 2004, at 10:26 PM, Paul Morrow wrote:
>
>> As for the Hungarian notation, I agree that in its most abused state,
>> it can be a real mess for all sorts of reasons. However in Python we
>> do use a very lightweight form of that in the way we identify private
>> and semi-private methods.
>
>
> Ugh. I know, and it's one of the little things about python that I am
> not so fond of. It has the feel of something that GvM did in one of the
> earliest python scripts that just ended up catching on with a wider
> audience. It screams 'accident', not 'designed'. Please, no more of that.
>
Actually, that is another good idea (IMO), borrowed from other
languages, and therefore familiar to many veteran developers. It's a
simple rule to remember, so I much prefer that convention to having to
declare (with a separate word) the visibility of a method.
More information about the Python-list
mailing list