[Zope3-dev] RFC: Guide for maintaining software in the Zope repository

Zvezdan Petkovic zvezdan at zope.com
Sat Aug 25 17:57:37 EDT 2007


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, 
otherwise weWouldWriteAllSpokenLanguagesAndBooksThatWayForReadability.  
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.

Best regards,
--
Zvezdan Petkovic


More information about the Zope3-dev mailing list