<div>Yep, I can find this word in any book.</div><div>I just want to know the reason.</div><div><div style="line-height: 16.799999237060547px;">I use expert_all because most of the time no one will use it.</div><div style="line-height: 16.799999237060547px;">And I don't like just follow some word in book.</div>I think all rule have its realm.<div style="line-height: 16.799999237060547px;"></div></div><div><br></div><div style="line-height: 16.799999237060547px;">Thank you.</div><div style="line-height: 16.799999237060547px;">I get the reason why my teammate just force me to do that.</div><div style="line-height: 16.799999237060547px;"><br></div><div><div>And now I'm going to change my code.....</div><div><br></div><div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Richard A. O'Keefe"<ok@cs.otago.ac.nz>;</div><div><b>Date: </b> Thu, Jun 20, 2013 02:36 PM</div><div><b>To: </b> "goofansu"<goofan.su@gmail.com>; <wbr></div><div><b>Cc: </b> "÷Ò÷Ñ"<249505968@qq.com>; "erlang-questions"<erlang-questions@erlang.org>; <wbr></div><div><b>Subject: </b> Re: [erlang-questions] »Ø¸´£º  Is export always better than complie(export_all)?</div></div><div><br></div>I should point out that the advice "use -export, not export_all, and use it as<br>little as you can" is _exactly_ the same as the advice "declare every function<br>and top level variable 'static' if you possibly can" given to C and C++<br>programmers, and for the same reason, and the same as the advice given to Java<br>programmers "prefer private to protected, protected to (package), and package<br>to public; don't make a method or a field public unless you _have_ to in order<br>to get the job done".  There is nothing specific to Erlang here.<br><br>The whole _point_ of modules is to hide as much as you can.<br>See just about any good software engineering book.<br><br><br></div></div>