[zeromq-dev] Cleaning-up context creation API

Pieter Hintjens ph at imatix.com
Thu Feb 16 01:50:03 CET 2012


On Wed, Feb 15, 2012 at 6:41 PM, Aurélien Vallée
<vallee.aurelien at gmail.com> wrote:
> Just my 2 cents:
> get/set are easy to remember, while peek/poke are... kind of weird

Yes, in the memory of 6502 programming. But get/set by themselves
aren't enough, there has to be an object, making it a clumsy function
name. zmq_ctx_getoption or zmq_ctx_getopt or whatever.

If peek/poke still feel too weird after a while, we can switch to
getopt/setopt. It's a simple patch.

I'm using the same nomenclature for zmq_msg_peek/poke, would send that
pull request but github ssh access is down at the moment.

-Pieter



More information about the zeromq-dev mailing list