[zeromq-dev] Announcing ZFL

Oliver Smith oliver at kfs.org
Sat Aug 21 08:55:12 CEST 2010

  Style question:

For the most part, you've used stroustrup formatting with braces 
outdented on their own line, e.g.

     static int
     s_private_function_example (void)

the first struct in zfl_base.c uses K&R/GNU style:

     struct _zfl_base_t {

I'm personally a fan of stroustrup style because, for the cost of a few 
extra lines here and there, you get one-shot visual scanning compared to 
the diagonal/across-down scanning with K&R.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanning.jpg
Type: image/jpeg
Size: 19487 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100821/34a49805/attachment.jpg>

More information about the zeromq-dev mailing list