From: Rob H. <ro...@ho...> - 2004-07-23 23:08:25
|
Fred L. Drake, Jr. wrote: > On Friday 23 July 2004 05:17 pm, David Goodger wrote: > > My first thought is to replace class-private method and > > attribute names with single-underscore names, qualified with the class > > name. So Banner.__links becomes Banner._banner_links. Basically what > > class-privacy does, but in a non-magical form. > > Actually, I'd be inclined to remove all the inheritance, and use aggregation > and delegation instead. But that's an ever bigger task, and there's been > little interest (at least from me) and no time. I hacked away on this already in October 2003. Attached. Maybe someone can use this as a starting point. Rob |