Thread Previous • Date Previous • Date Next • Thread Next |
Agree ons, 02.04.2008 kl. 12.27 +0200, skrev Martin Sandve Alnæs: > In Python, variables are made private or protected in an "informal > way" by prefixing their names with __ or _. Some places I've used > self._foo instead of self.foo for variables which the end-user (person > inputting a form) shouldn't touch, do you agree with this? Most of > these are variables the form compiler developers will be dealing with. > I haven't been completely consistent, so I just want green light > before I change these one way or the other. > > -- > Martin > _______________________________________________ > UFL-dev mailing list > UFL-dev@xxxxxxxxxx > http://fenics.org/mailman/listinfo/ufl-dev
Thread Previous • Date Previous • Date Next • Thread Next |