What are the best practices to substitute variables in a string

If you want peak performance and slightly harder ergonomics, IO lists (aka IO data) are very hard to beat, they’re how Phoenix views are so fast.

https://hexdocs.pm/elixir/v1.10/%20/IO.html

3 Likes