3 ms·
> For business logic, your functions need to know so much about the data that they are operating on that it's pointless to try to avoid bundling the state. Thi
by AlchemistCamp 6y ago
> For business logic, your functions need to know so much about the data that they are operating on that it's pointless to try to avoid bundling the state.
This hasn't been my experience at all working with Elixir. A typical Phoenix app will have hundreds to thousands of funtions related to business logic and none of them bundle state.
It works fine and debugging is much easier than it was for me previously with JS or Ruby because of the pure functions.