[rabbitmq-discuss] Erlang strings and binstrings (newbie question)
madtrick at gmail.com
Fri Oct 28 11:29:28 BST 2011
I'm using this (
examples as an entry point to RabbitMQ and due to the fact that I'm also a
newbie to erlang there's something I don't get.
In the send.erl example, when you connect to the RabbitMQ server you specify
the host with a string ("localhost") but ,for example, when you specify the
routing_key you use a bitstring (<<"hello">>).
I know the differences between strings and bitstrings but, why don't we
allways use one of them? why sometimes strings and others bitstrings?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss