Building Phoenix Battleship (pt. 5) IntelliJ Elixir v4.1.0

Dynamically Load a Module in Elixir using Macros

Elixir way of keeping code clear and reusable is creating modules and importing them when needed. However import method is easy to use for static module names, it requires more afford to load dynamically assigned modules.

Dynamically Loading a Module in Elixir