[zeromq-dev] Renaming ZMQ_RECONNECT_IVL_MAX in 3.0

Gregg Irwin gregg at pointillistic.com
Tue Apr 12 20:27:53 CEST 2011


>> Hmm, industry practice is short option names ("SNDBUF"), so
>> ZMQ_RECONNECT and ZMQ_RECONNECT_MAX would work better.

MS> What do others think? Is shortening the option names worth of it? There
MS> are couple of other long names out there, e.g. ZMQ_RECOVERY_IVL. Or even
MS> ZMQ_SUBSCRIBE and ZMQ_UNSUBSCRIBE...

If it's not used often, longer and more descriptive is better. I don't
think adding a few letters makes it too long, and they do add some
meaning. I think TIME might be more meaningful than IVL. I know what
IVL means now, but it didn't have instant meaning to me when I first
saw it. 

-- Gregg




More information about the zeromq-dev mailing list