[erlang-questions] Which choice is better? Function or Case

饕餮 249505968@REDACTED
Thu Mar 7 10:11:47 CET 2013


I wonder if Function call is better than Case when both of they can implement the target I want?
It seems like  write a function instead of case could make the code more clear .
But which one is fast when it running? 
I intend to change the case to function to make the code more clear. Is this valuable?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130307/edc5abf3/attachment.htm>


More information about the erlang-questions mailing list