3 ms·
Erlang doesn't do incapsulation very well. Even if I divide code to clean OTP Applications, each with it's own public interface, nothing in compiler stops peopl
by nivertech 10y ago
Erlang doesn't do incapsulation very well.
Even if I divide code to clean OTP Applications, each with it's own public interface, nothing in compiler stops people from referencing internal modules and their exported (i.e. "public") functions. The problem is that many OTP behaviors' internal callbacks need to be exported, so they are exposed publicly.
I guess one need to use xref tool, to find all references outside the OTP application.