A useful comparison of structs and maps is made in When to Use Structs, String-keyed Maps, and Atom-keyed Maps.
It lists six rules governing the best practice usage of these data structures.
- Always Use String-Keyed Maps for External Data.
- Convert External Data to Structs ASAP.
- Use Structs in All Other Code.
- Use Structs for Output Data.
- Avoid Using Atom-keyed Maps That Aren’t Structs.
- Use Keyword Lists Only for Function Arguments


















