Borg Pattern Class usable from other classes?
Delaney, Timothy
tdelaney at avaya.com
Sun Oct 14 21:04:14 EDT 2001
> From: Alex Martelli [mailto:aleax at aleax.it]
> This would be bad practice in languages bereft of "property
> idioms" such as
> C++ of Java, but it's fine where properties are indeed
> idiomatic, such as
> Delphi or Python: the class author can and should ensure that
> accesses to
Actually, just to be picky, you can have property idioms in C++ ...
something I wrote a number of years ago ...
http://users.bigpond.net.au/tdelaney/index.htm?/tdelaney/products/property.h
tm
(sorry I had to give the long URL, but something's playing silly buggers on
the site - I haven't maintained it in a while).
Tim Delaney
More information about the Python-list
mailing list