[zeromq-dev] C++ coding standard?

Pieter Hintjens ph at imatix.com
Tue Mar 4 07:44:55 CET 2014


Hi Tom,

The original authors of the C++ code didn't write coding standards.
CLASS covers C, specifically (CZMQ, and related projects).

You might enjoy writing a coding standard for the libzmq C++ usage as
part of learning that subset.

-Pieter

On Tue, Mar 4, 2014 at 6:09 AM, Tom Nakamura <tnakamura at eml.cc> wrote:
> Hello,
> I've noticed that ZeroMQ, like most other large libraries written in
> C++, chooses a specific subset of C++ and consistently adheres to it.
> For example, I don't see a single throw/catch outside the tests/, most
> classes have only 1 simple constructor and STL classes are used
> sparingly.  So:
>
> Do the ZeroMQ developers have a coding standard/guideline for C++
> development, akin to MISRA or Google's C++ Style Guide?
>
> I know there is RFC 21 (CLASS) but that seems to be more about
> aesthetics and high-level project architecture.  I ask because I want to
> learn enough C++ so I can better understand ZeroMQ but don't want to
> waste time learning stuff that the project does not use.  (I already
> know C).
> thank you,
> Tom
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list