On Thu, 06 Sep 2007 09:00:02 +0200, Stefan Arentz wrote: > What I find really frustrating in Python (combined with usually bad > documentation) is that many people have different styles. The most > frustratinng being getFoo() vs .foo, vs get_foo().
`getFoo()` is discouraged by PEP 8. You don't have the choice between `.foo` and `.get_foo()` in Java because Java has no properties and people are trained to write getters and setters for everything. I like that choice in Python because I can write shorter code that is not cluttered with very simple getters and setters. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list