[zeromq-dev] zmq-socket name aliases

Martin Sustrik sustrik at 250bpm.com
Sun Aug 1 21:56:37 CEST 2010


Brian Granger wrote:

> Most importantly, KEY != VALUE.  That is, the name we use to refer to 
> each socket does not have to include all the information about the 
> socket, it merely has to be a unique identifier that is not confusing. 
>  The longer naming schemes feel like they are trying to put the VALUE 
> into the KEY, i.e., all of the details of the socket into the name of 
> the socket.

It reminds me of hungarian notation.

m_rgiNumbers happens to mean "member variable of type 'array of 
integers' that is called 'numbers'".

I never understood what is the prefix good for given that I can get 
exactly the same information from looking at the variable declaration.

Martin



More information about the zeromq-dev mailing list