[erlang-questions] Separation code from data

Daniil Churikov ddosia@REDACTED
Tue May 6 13:19:38 CEST 2014


I used to work on a project where some parts of the system execution flow
are configured through
configs. Something like

{app1, [
    {callbacks, [
        {Mod, Fun, Args},
        ...
    ]}
]}.

I found this is not obvious to understand how parts of the project are tied
together in
this conception.
It reminds me how some of Java's application servers are configured through
xml, it was
always hard for me to find all places where I must put class name in order
to satisfy it.
This is rather silly question, but what pros and cons may be to do/not to
do like this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140506/d7271f1a/attachment.htm>


More information about the erlang-questions mailing list