&gt; A compiler has to manage a lot of state too, but I&#x27;ve yet to hear compiler makers trying to figure out why they have so much logic in their controllers, and why their views are too big (because nobody would write an MVC compiler).<p>No, but they do write entire books about how their parser uses recursive descent or LL(1) or about how they do code generation.