Callbacks with record name == module name

Taru Karttunen taruti@REDACTED
Wed Dec 30 15:22:20 CET 2009


Is it sensible to write code with callbacks for different "object"
types like:

foo(Id) ->
  {ok, V} = myapp_get_by_id(Id),

Or is there a more idiomatic way of handling this?

- Taru Karttunen

More information about the erlang-questions mailing list