Good comment. I use PEP-8, and I'd suggest that PEP-8 is really the right
way to go for the future regardless of the existing codebase. I'm not
certain who originally coded with the extra-whitespace-style (Kapill?) but
for consistency with the rest of Plone etc and the Python multiverse, PEP-8
is the way to go.

D



On Thu, Aug 20, 2009 at 9:54 AM, Brandon Craig Rhodes <
[email protected]> wrote:

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to