I should be polite and ask: my typing habits and editor settings
typically lead me to produce PEP-8 code, but most of GetPaid seems to
use a quite different whitespace-heavy set of conventions like this:
def ContentTypes( context ):
portal_types = getToolByName( context.context, 'portal_types' )
instead of PEP-8 code like this:
def ContentTypes(context):
portal_types = getToolByName(context.context, 'portal_types')
Is the extra whitespace something desirable in Plone-land that I should
carefully try to imitate in my own code that I'm adding? Or can my own
additions be PEP-8 without making the code too difficult to read?
--
Brandon Craig Rhodes [email protected] http://rhodesmill.org/brandon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---