[Tutor] style question: when to "hide" variable, modules
Alan Gauld
alan.gauld at freenet.co.uk
Sat Jan 15 01:44:54 CET 2005
> My question is, how far should one take these guidlines?
My response is, as far as you need and no further.
In other words if it would actually cause problems
for clients to access those variables disguise them,
but otherwise trust your fellow programmers not to
be stupid.
Its the same principle as the recent discussion
about private/public keywords etc.
Comments and docstrings can help too.
Alan G.
More information about the Tutor
mailing list