<div>I know the usage of -expert().</div><div>But why it so important?</div><div><div>Why should we always use -expert() but not compile(expert_all)?</div><div>What's the benefit?</div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "goofansu"<goofan.su@gmail.com>;</div><div><b>发送时间:</b> 2013年6月20日(星期四) 下午2:07</div><div><b>收件人:</b> "饕餮"<249505968@qq.com>; <wbr></div><div><b>抄送:</b> "erlang-questions"<erlang-questions@erlang.org>; <wbr></div><div><b>主题:</b> 回复: [erlang-questions] Isexport always better than complie(export_all)?</div></div><div><br></div>
<div style="font-family: Helvetica; font-size: 13px; ">Hi,<div><br></div><div>Exported functions are interfaces to the outsides. </div><div><br></div><div>Once these functions are used heavily, it is difficult to change a function. </div><div>For example, add/remove a parameter or change the function's name.</div><div><br></div></div>
<div><div><br></div><div>-- </div><div>goofansu</div><div>已使用 <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
<p style="color: #A0A0A8;">在 2013年6月20日星期四,下午1:57,饕餮 写道:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><span style="font-size: 14px; line-height: 1.5;">I'm working in a program as 10,000 line code.</span><br><div><div>Most of the time the function are changing.</div></div><div>Like and some new function or change some old.</div><div>The program is not so big that we have no document to describe our module.</div><div style="line-height: 16.799999237060547px;">And all the team member should read all of the code.</div><div>And I usually use compile expert_all because I feel it make the work easier to handle</div><div><span style="line-height: 1.5; font-size: 14px;">But one of my teammate said that I must never use export_all.</span></div><div>It's that necessary to use export() instead of compile(export_all)?</div><div>And what's the reason to use export?</div></div><div><div>_______________________________________________</div><div>erlang-questions mailing list</div><div><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></div><div><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></div></div></div></span>
</blockquote>
<div>
<br>
</div></div>