[erlang-questions] Re: Will parameterized modules become an official part of Erlang?
Mikael Pettersson
mikpe@REDACTED
Mon Feb 22 20:15:35 CET 2010
Garrett Smith writes:
> > We still have time to ditch them :)
>
> +1
>
> I think the concept is fine, but if they take off they're going to
> bifurcate Erlang APIs into traditional API modules that take explicit
> process refs/state and this other breed that somehow gets by without
> them. Yuck!
>
> IMO, this meme (coupling state and behavior) is way too fundamental to
> have two major variants in a language.
The parameters in parametrized modules are no more about state than
the free variables in function closures ('fun' expressions) are.
More information about the erlang-questions
mailing list