On Saturday 25 August 2007 06:31, Dieter Maurer wrote:
> I do not see lots of underscore rules, maybe because I disregard PEP
> 8... For me, the Java style ("getMainType") is easier readable than
> the one prefered in the Python runtime library ("get_main_type").
Some people feel that theyCannotReadThisAndItShowsInASpellChecker and
therefore can_read_and_spell_this_much_better is their choice,
You could say that they come from a C background or that they are
a "little" older. :-)
Some other people say, e.g., those who come from Java background, that
readingTheNamesLikeThisIsNotAProblemAtAll and they prefer that style.
I'm sure we all heard the arguments pro and contra more times than we
care to hear.
Obviously, a visual perception differs from person to person. If a
person has a difficulty reading getMainType(), they should not be
forced to write get_main_type() in their Zope code for the sake of
consistency which is in this particular issue non-existent.
This is really the least important style issue.
Zope3-dev mailing list