[erlang-questions] Random newbie stuff
Sun Nov 4 18:33:05 CET 2007
I'm also an Erlang newbie, coming from C#. I've tried to put aside my OO
preconceptions, but it seems to me that there are some useful conceptual
mappings - can I check a couple?
Would it be fair to say that Erlang Behaviours achieve code re-use by
implementing, in the sense of Martin Fowler's article (
http://martinfowler.com/articles/injection.html), the Inversion of Control
pattern with Constructor (or is it Setter?) Dependency Injection?
And would it also be fair to describe Vance's Cascading_Behaviours as adding
more code re-use via the Decorator pattern (
http://en.wikipedia.org/wiki/Decorator_pattern), at least when taking the
option of exporting an identical interface to the callback module as
On 04/11/2007, Vance Shipley <vances@REDACTED> wrote:
> I have used what I call cascading behaviours to accomplish what
> you describe. I wrote about it here:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions