[erlang-questions] OTP application design
Vlad Dumitrescu
vladdu55@REDACTED
Tue Jun 12 22:05:19 CEST 2007
On 6/12/07, Kirill Zaborski <qrilka@REDACTED> wrote:
> The difference is that with Java interfaces compiler checks that I have
> implemented all the needed functions and with dynamic typing in Erlang I
> must do it manually.
A simple way to get reminded of any forgotten handle_* clauses is to
have a "catch all" clause at the end, that will print out in big
flashy red text something in the lines of "unknown call/cast/info!"
regards,
Vlad
More information about the erlang-questions
mailing list