Best practices: get/put

Matheus Degiovani <>
Mon Jan 23 21:30:57 CET 2006


Hello,

The best practices document says that one should avoid using get/put do 
store data in the process dictionary. I'm guessing that in gen_servers, 
that information should actually be stored in the various State 
parameters/returns, right?

So, my question is: what is the best (or maybe, what's the usual) data 
structure used for storing state information? Trees? Records?

Cya.
-- 
Matheus Degiovani

http://www.tilt.net
http://clubtilt.net

"Nem mesmo os sábios conseguem enxergar os dois lados" - Gandalf em O 
Senhor dos Anéis de JRR Tolkien.



More information about the erlang-questions mailing list