[erlang-questions] avoid -import. Why?
Mon Jul 9 00:00:46 CEST 2007
In reading this resource (
), I found this statement,
Don't use -import, using it makes the code harder to read since you
cannot directly see in what module a function is defined. Use exref
(Cross Reference Tool) to find module dependencies.
I do not think I understand why it is the case, and could not find the
tool exref from the erlang distribution.
If anyone can shed some light, most appreciate.
Experience is simply the name we give our mistakes.
---- Oscar Wilde
More information about the erlang-questions