DEV Community

Discussion on: Things Elixir's Phoenix Framework Does Right

Collapse
 
vincentvanbush profile image
Michał Buszkiewicz • Edited

As you mentioned in the Performance part, much of what Phoenix Framework does right is thanks to what Elixir does right, and I think a great factor is Elixir's flexible nature - thanks to its metaprogramming abilities libraries such as Phoenix, Ecto, etc. can include DSLs that make developers' lives easier by providing syntactic sugar to declaratively define routes, schema fields, database queries, etc.
It's good for both developer happiness and performance, for example Plug uses macros to make sure pipelines are built at compile-time.