Elixir Programming Language Forum
Capital letter Atoms in Elixir treated differently in Maps!
Chat / Discussions
elixir-in-action
,
learning-elixir
josevalim
December 3, 2022, 11:13pm
2
Age:
is equivalent to
:Age
. As
foo:
is equivalent to
:foo
.
5 Likes
ElixirSchool suggests you can use random capital word in Elixir as an "atom" (alias)... But is this a good idea to do in practice?
show post in topic