[Baypiggies] call for newbie nuggets for july and/or august

Alex Martelli aleax at google.com
Wed Jul 15 07:23:56 CEST 2009


On Tue, Jul 14, 2009 at 9:49 PM, wesley chun<wescpy at gmail.com> wrote:
>>> it would also be great to have some compare/contrast b/w metaclasses and
>>> class decorators and when are good opportunity to use each or where one
>>> is a better choice over the other. i know i m asking for a lot but just
>>> high level would be great!
>>
>> Remember, this is a newbie nugget, about ten minutes long.  Just
>> explaining why you'd want to use metaclasses will take most of that time.
>
> true, but not mentioning them as an alternative would be irresponsible IMO.

Yeah, PLUS, with class decorators around, it's very hard to think of
GOOD use cases for metaclasses for newbies -- seriously so.


Alex


More information about the Baypiggies mailing list