Better HN
topnewbestaskshowjobs
Log inSign up

yokaro

2 karma · joined Aug 21, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

There are many points in your comment that is a matter of preference... And with many of them I desagree...

I used Django in the past and the "auto-migraton support" feature you are talking about is great but not perfect. It is even mentioned in the official documentation. I have been myself in situations where it created unwanted behavior. So I can understand the Elixir core team not wanting to bet on a feature that is neither perfect nor essential.

> But having the unnecessary views there adds another level of abstraction making everything more complex for no reason.

Hell no! Imagine how much more succinct and clear templates can be just because you moved some verbose logic into helpers defined in your views? I find that Phoenix encourages people, especially beginners, to adopt nice ways to organize their code.

The generators you like them or not but you are not forced to use them. Personally I find that they boost productivity and are a very good learning tool.

Finally I would say that Django did not become what it is in a day. Elixir/Phoenix is perhaps slowly but surely moving towards a future that I am impatiently awaiting.