I agree with the code generation of libraries in Phoenix being a drawback.
I think it maybe a reaction to there being too much magic in Rails dependencies, but it makes upgrades much harder.
I think it maybe a reaction to there being too much magic in Rails dependencies, but it makes upgrades much harder.
I also like the philosophy of magical experiences, without magical code. Everything is very traceable. And most of the time you don't even need to use the generators - just make your module, register in the right places, and you're done.
But, unlike the rest of Elixir and Phoenix, this approach doesn’t feel like an elegant solution - it feels like a moderately ok trade off.