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

Davide Marquês nesrait@REDACTED
Wed Oct 28 14:23:51 CET 2009

> What you wish to use is up to you. Process dictionary will definitely be
> faster, but it makes the code more difficult to manage and debug.

The process dictionary might seem appealing at first but if you use it
you'll be unable to reason about the data flow just by looking at the
connections across your functions/modules. Debugging stops being a matter of
just looking at your code but and starts requiring that you reason about the
side effects past code interactions might have produced in the process'
current state. Good luck with that. ;)


More information about the erlang-questions mailing list