[zeromq-dev] ZeroMQ contribution policy - style guide

asif saeed asif.lse2 at gmail.com
Sun Feb 5 09:55:59 CET 2012

Hi All,

On Sun, Feb 5, 2012 at 2:12 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> On 04/02/12 02:30, john skaller wrote:
> > I have just added a new section to the style guide "banning" the calling
> > of public functions by public functions. Public functions are reserved
> > for the public.
> Good idea. +1

I don't think that's a good idea. Public functions comprise a public
interface that is supposed to stay the same. So what is the point in
banning their use in implementation code? From C++ perspective, you can
simply move  the functions implementing the functionality to the private
section of your class - that way, they will remain hidden. Making something
public and not allowing their use in implementation code suggests of code

- Best regards, Asif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120205/a8418334/attachment.htm>

More information about the zeromq-dev mailing list