Class design (information hiding)

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Sep 7 15:46:14 CEST 2007


On Fri, 07 Sep 2007 15:17:06 +0200, Alexander Eisenhuth wrote:

> Bruno Desthuilliers schrieb:
> 
>> Nope. It's either 'interface' (no leading underscore),  'implementation' 
>> (single leading underscore), 'implementation with some protection 
>> against accidental overriding' (two leading underscores).
> 
> What do you mean with 'implementation'? What does it express?

I guess he meant 'implementation detail', i.e. someone other then the
author of the class should not use until he really knows the
implementation and that this all might change without notice in the next
release.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list