What’s wrong with Umbrella Apps?

My two reasons for not using umbrellas:

  1. Using mix xref ... to try and reduce compile-time dependencies between modules was near-impossible. Not sure if things improved since Elixir 1.11 on that but back then it was a huge turn-off for me.
  2. A number of libraries that generate code inside your project don’t support umbrellas.

None of these are huge or actual show-stoppers but then again, working in a professional setting where you are paid to be productive introduces the problem of not having too much time to fiddle with such problems when they arise. So I eventually gave up, it didn’t seem to be worth the hassle to use umbrellas unless you really needed them – and several posters have provided legitimate needs for umbrellas already with which I fully agree.

4 Likes