3 ms·
IMO it's not as simple as "just use Access". In addition to maps and keyword lists, there are structs in play. Access works with maps and keyword lists, but no
by gamache 5y ago
IMO it's not as simple as "just use Access". In addition to maps and keyword lists, there are structs in play.
Access works with maps and keyword lists, but not structs. There are pieces of code I've written that reasonably accept map or struct, but not keyword list.
Map.get/3 also has a default value; Access only lets you use `nil` for that.
OTOH, the nil-eating behavior of Access is terribly convenient sometimes.
It's all about what you need at the time. There is more than one way to do it, for a reason.