[BangPypers] Any python metaclasses for UID

Roshan Mathews rmathews at gmail.com
Wed Jul 29 18:50:02 CEST 2009


I think I just fell down the rabbit hole.

On Wed, Jul 29, 2009 at 10:17 PM, Noufal Ibrahim<noufal at gmail.com> wrote:
> On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S<shivraj.ms at gmail.com> wrote:
>> A small typo there
>
> But an important one.
>
>> super(UID,self).Wind(7)  is super(ClassI,self).Wind(7)
>> Well google's is doing definitely a strong attempt here. I guess it's
>> metaprogramming than metaclassing.
>
> Nonsense. It's simple method dispatching.
>
>> Class GoogleOS(OS):
>>          def __init__(self):
>>                self.official.languages = ['c++','java','python']
>>                self.name = 'Chrome'
>>          def os(self,Browser(Webapps)):
>>                self.aim.compatibility = Gates().Wind(7).os.compatibility +
>> Mac().os.compatibility
>>                self.patches = "tobe decided"
>> where Gates is extended by Boost for seamless interoperability.
>
> Not really. You're reinstantiating Boost using the Gates provider
> which won't work in this context.
>
>> I haven't got any more ideas on this.
>
> Why don't you try to converting Gates to a factory? That might help
> you out rather than the one way UIDs.
>
>> Well about the "useful" part of the search I think Data Snooping Bias should
>> be avoidedl.
>
> Don't knock it till you've tried it. I'm sure you'll get far with that
> query. Also try "frobnicating the bogosphere".
>


More information about the BangPypers mailing list