[zeromq-dev] [PATCH] Improved response to socket violations
Ian Barber
ian.barber at gmail.com
Mon May 23 03:22:19 CEST 2011
On Fri, May 20, 2011 at 4:50 PM, Martin Lucina <mato at kotelna.sk> wrote:
> 3) Last but not least, IMHO libraries should *not* print "helpful"
> messages. This leads to horrible practices, for example start a random Gtk
> application; you will more often than not see all sorts of assertion
> failures and other crap printed and it's obvious that no one cares, much
> less does anything about it.
>
I have to say I am a big +1 on not ever printing from libzmq - to be honest
even in cases where it completely blows up, I've worked with bindings for a
library that does that and it's can make it very hard to have consistent
responses to failures when sometimes extra output starts occurring.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110523/3e85d164/attachment.htm>
More information about the zeromq-dev
mailing list