Re:Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
by ramchip on Sunday April 21, 2019 @09:42PM
(#19715763)
Protocols are also an important feature. `IO.inspect`, `Enum`, etc. are very nice additions.
Re:Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
by elcritch on Sunday April 21, 2019 @09:59PM
(#19715821)
In general the standard library organization is superb and well laid out. It’s the only language I don’t have to consistently lookup "how do I do X with string", or “Y with a list".
Re:Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
by schneidmaster on Sunday April 21, 2019 @08:46PM
(#19715528)
Yeah, this is fair. I was mentally lumping certain language features under "syntax" but that's not really accurate.
In Elixir, as in Lisp, you can transform your code as a data structure into new code. This is importantly used in Ecto, the de-facto object data mapper in Elixir. It’s also used in Absinthe, a library from the posted link for making GraphQL APIs.