Explore Accounts from IEx
Learn to explore your code using exports in Phoenix.
We'll cover the following...
When we’re working with big applications with huge available libraries, it pays to have a few tools in your toolbox for exploration. Reading code is one technique we can use, and another is looking at the public functions in IEx
. To do so we’ll use a function called exports
.
Most experienced programmers strive to separate complex code into layers. We’ll have plenty of opportunities to explore these layers from the inside in the upcoming lessons. Right now, rather than focusing on how the code works, we’ll look at the various things that it can do—starting in this section with the Accounts
...