15 June 2008 17:30
Erlang: An Introduction to Records | 20bits
If you want to to add and remove fields on the fly, or if you don't know what fields you'll have until runtime, you should use dicts rather than records.
whenever using record, how and not (by choosing dict instead)