3 ms·
Dave Thomas' post and talk about this. He 1) criticizes the overuse of GenServers, 2) the boilerplate code and large directory structures created by tools like
by auraham 5y ago
Dave Thomas' post and talk about this. He 1) criticizes the overuse of GenServers, 2) the boilerplate code and large directory structures created by tools like mix and 3) gives a few ideas to deal with these issues. Amazing talk.
https://pragdave.me/blog/2018/06/02/project-structure.html https://pragdave.me/blog/2018/06/02/project-structure.html
- dnautics 5y agoHere is the talk, queued up: https://www.youtube.com/watch?v=6U7cLUygMeI&t=730s https://www.youtube.com/watch?v=6U7cLUygMeI&t=730s Yeah, I don't agree with everything he says -- I don't think boilerplate is necessarily bad. Especially in Elixir where It's hard to explain but usually it's easy to find the meat of what you care about -- your eye (or search cursor) just lands on it. And I also think specifically the solutions he proposes are not that great. Having a common language and not inventing too many more DSLs has value, even if it sucks a bit. But a lot of that shit needed to be brought up.