Hacker News new | ask | show | jobs
by mpweiher 3509 days ago
That's the "Massive ViewController" anti-pattern (or just massive controller, if you're not in Apple land).

Classic MVC is really MVc, with controllers only handling a small set of interactions that are not directly between the Model and View, for example dialog boxes and such.

One problem with a "Big-C" approach to MVC is that whereas models and views are at least potentially reusable, the controllers are dependent on both M and V, and thus both proliferate and are not reusable.

Glue code. The dark matter of programming.

1 comments

Hmm, often times the models are not reusable because they end up doing too much. Tryg actually started to create something called ACI because of this.