4 ms·
> You probably went through Ecto 1 -> 2 -> 3 and Phoenix was migrating to contexts. > But I also have to say there was a lot of FOMO in relation to OTP back th
by hakunin 2y ago
> You probably went through Ecto 1 -> 2 -> 3 and Phoenix was migrating to contexts.
> But I also have to say there was a lot of FOMO in relation to OTP back then: people felt they had to build these amazing supervision designs, otherwise they were not using the language correctly.
Exactly!
Contexts really threw me off, because I couldn't figure out how/why would I set a boundary up front, if I'm not even sure how the app is going to turn out.
- josevalim 2y agoUnderstandable! The documentation provides quite more guidance now (and there is nothing wrong with naming your context after your "models").