[zeromq-dev] czmq and zalloc - handling OOM situations

Steven McCoy steven.mccoy at miru.hk
Tue Sep 27 17:14:20 CEST 2011


On 27 September 2011 10:49, AJ Lewis <aj.lewis at quantum.com> wrote:

> Personally, I prefer the first method, but I know people that absolutely
> will not use goto.
>
>
Wasn't there a discussion on /. recently about this, Dijkstra's view tends
to be taken out of context because it was in regard to Pascal which has an
alternative method of breaking out of multiple loops.

I count 160 instances of goto in OpenPGM, all for error cases.

:-)

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110927/a2f51946/attachment.htm>


More information about the zeromq-dev mailing list