Uwe Grauer wrote:
> Dabo explicitly encourages you to use afterInit() instead of __init__().
> This should make it easier to use for non-programmers but it doesn't
> help programmers to understand the class structure as easy as it is in
> pure python. The class hierarchy gets hidden by this which feels
> unpythonic to me.

...so ignore our advice and override __init__(). You just need to take 
the responsibility to to call:

super(obj, self).__init__(*args, **kwargs)

when you deem it appropriate to do so.

Perhaps in the Dabo Book we can highlight these things with something 
like "Pythonista Note: just override __init__() normally if you are more 
comfortable doing so".


-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to