Re: I want some Python 3 C coding style guidance.

Lennart Regebro <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Thu, Nov 25, 2010 at 11:37, Wichert Akkerman <[email protected]> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.