[erlang-questions] Erlang code reuse
Huxi Li
huxili@REDACTED
Thu Aug 21 19:56:29 CEST 2014
Hello all,
I am surprised to see the way the following module is coded when studying
rabbit MQ server:
https://github.com/rabbitmq/rabbitmq-server/blob/master/src/supervisor2.erl
It is a duplication of erlang's supervisor.erl with minor changes.
So my question is : Are there better ways of code reuse in erlang without
duplication of code as found in the above example ? Some sort of
polymorphism ?
Thanks in advance.
Huxi LI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140821/a77a56e7/attachment.htm>
More information about the erlang-questions
mailing list