[Zope-dev] I want some Python 3 C coding style guidance.

Lennart Regebro regebro at gmail.com
Tue Nov 30 08:32:08 EST 2010


On Thu, Nov 25, 2010 at 11:37, Wichert Akkerman <wichert at wiggy.net> wrote:
> On 11/25/10 11:31 , Lennart Regebro wrote:
>> Which style do you prefer? I'll make zope.hookable, zope.i18nmessage
>> and zope.proxy use the same style if we can agree on one.
>
> The second. #ifdefs in code make code hard to follow and tend to lead to
> problems. FWIW the Linux kernel tree has a similar policy: they hide all
> differences behind macros and helper functions.

OK, only one voice, but it agrees with me, so I'll go for this. Thanks!

//Lennart


More information about the Zope-Dev mailing list