[erlang-questions] Re: Process Dictionary vs Proplist in Web Frameworks

Ngoc Dao <>
Thu Oct 29 06:26:25 CET 2009


Yes, because of "write once", I think the trade-off of using process
dictionary for web is OK.

For proplist, is there a trick (macro?) to add syntactic sugar to put and get?

List2 = [{Key, Value} | List]
and
proplists:get_value(Key, List)
are somewhat verbose.


On Thu, Oct 29, 2009 at 7:18 AM, Steve Davis
<> wrote:
> I believe the art of using the PD is to stick rigorously to "write
> once".
>
> /s


More information about the erlang-questions mailing list