Re: [Rest2web-develop] Re: ConfigObj 4 work
Brought to you by:
mjfoord
From: Nicola L. <ni...@te...> - 2005-07-07 12:58:59
|
> What about private attributes ? > Like the regular expression class attributes in ConfigObj - should I > prefix these with a single underscore as well ? Ideally, any instance member that is not to be externally and directly accessed should be, yes. It takes a fair amount of discipline to do that, but I think it's beneficial in the long run. -- Nicola Larosa - ni...@te... Adding things just because you can leads to monstrosities like Common LISP, PL/I, Algol 68 and Perl 6. Adding features only when they add functionality (or better yet, by removing restrictions) leads to jewels like Python, Scheme and Eiffel. -- Mike Meyer, comp.lang.python, April 2005 |