[erlang-questions] 回复： Is export always better than complie(export_all)?
Thu Jun 20 08:07:48 CEST 2013
Exported functions are interfaces to the outsides.
Once these functions are used heavily, it is difficult to change a function.
For example, add/remove a parameter or change the function's name.
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2013年6月20日星期四，下午1:57，饕餮 写道：
> I'm working in a program as 10,000 line code.
> Most of the time the function are changing.
> Like and some new function or change some old.
> The program is not so big that we have no document to describe our module.
> And all the team member should read all of the code.
> And I usually use compile expert_all because I feel it make the work easier to handle
> But one of my teammate said that I must never use export_all.
> It's that necessary to use export() instead of compile(export_all)?
> And what's the reason to use export?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions