[erlang-questions] 回复： Isexport always better than complie(export_all)?
Thu Jun 20 08:30:05 CEST 2013
On Thu, Jun 20, 2013 at 02:10:17PM +0800, 饕餮 wrote:
} I know the usage of -expert().
} But why it so important?
} Why should we always use -expert() but not compile(expert_all)?
} What's the benefit?
If you haven't cleanly seperated the public interfaces to your modules
from their internal mechanisms you haven't designed your program, you've
only implemented it. You are well on your way to spaghetti code which
will be a nightmare to work with.
More information about the erlang-questions