Writing better elixir code

Using typespecs helps you reason about your code better, think about all possible paths Keep everything seperated can be easy to write a module with another module in mind and end up returning values or creating logic that fits in the context of that module. i find that to be unhelpful in the long run. while they can interact with each other, keep those return values sepearate a crude example…