Also, though, just avoid calling modules from other module bodies. For example, there was a lot of this in the codebase I worked in:
defmodule Foo do
@foos = %{
a: A,
b: B,
c: C
}
end
Don’t do that!
Also, though, just avoid calling modules from other module bodies. For example, there was a lot of this in the codebase I worked in:
defmodule Foo do
@foos = %{
a: A,
b: B,
c: C
}
end
Don’t do that!