[erlang-questions] (Non)Parametrized modules, inheritance, and R15B02 issues?

Ulf Wiger ulf@REDACTED
Wed Oct 10 09:10:27 CEST 2012


What would be good is if a list of good uses of pmods could
be collected, and honorable workarounds suggested.

This could of course be done interactively on this list.
Present what you think is code that is not easily done well
without pmods, and let the members of this list debate
suitable rewrites. If good alternatives are hard to find, 
maybe that could inform some EEP for a more
'erlangish' extension that renders pmods truly obsolete?

BR,
Ulf W


On 10 okt 2012, at 00:54, Tomas Morstein <tmr@REDACTED> wrote:

>>> ...
> 
> The problem starts when it comes to projects like ChicagoBoss
> that we at IDEA love and intensively use every day.
> CB uses pmods not only for simple_bridge-based web controllers,
> but also for its sophisticated and well integrated concept of
> data models being linked with Django templating engine in turn.
> 
> Although I fully understand reasons why pmods and their eventual
> pseudo-OOP behaviour (like inheritance) are not so clear as they
> are implemented today, but in other hand, many excellent projects
> may disappear in final result...
> 
> I hope such a "total eclipse" is not going to happen, but our case
> (over-using the extra unsupported and hackish features) we've just
> adapted our technology to framework and totally forgot to standards,
> what's in fact our own mistake.



More information about the erlang-questions mailing list