On 05/23/2011 03:22 AM, Ian Barber wrote: > > > On Fri, May 20, 2011 at 4:50 PM, Martin Lucina <[email protected] > <mailto:[email protected]>> 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.
Are you guys saying you want silent failures, ie. application asserts without even printing out the error? If so, I guess it can be done as a compile time option. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
