[erlang-questions] Define "exists".

Jack Moffitt jack@REDACTED
Thu Oct 13 22:37:51 CEST 2011


> However, we'd probably be just as well off, if not better, to use binaries
> as the keys -- we get those straight out of the HTTP request anyway. Then we
> don't have the problem of growing atom store, and/or having to pre-declare
> all possible headers we might care about.

I often do this and make the getters/setters convert atoms to binary
so that I can still avoid typing the <<" and ">> as much as possible.
Of course, this won't help if you are pattern matching.

jack.



More information about the erlang-questions mailing list