[erlang-questions] 回复: Is export always better than complie(export_all)?

goofansu goofan.su@REDACTED
Thu Jun 20 08:07:48 CEST 2013


Hi,

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.


--  
goofansu
已使用 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
> erlang-questions@REDACTED (mailto:erlang-questions@REDACTED)
> http://erlang.org/mailman/listinfo/erlang-questions
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130620/55c5b2a2/attachment.htm>


More information about the erlang-questions mailing list