3 ms·
When I do software engineering, I use architectural principles to make decisions for me. I don’t have to decide where the HTML rendering code will go because th
by ezyang 16y ago
When I do software engineering, I use architectural principles to make decisions for me. I don’t have to decide where the HTML rendering code will go because the Model-View principle has made it clear. Furthermore, I get annoyed when the architectural principle fails to give a me a decision, but I get the feeling that it should (the example I gave here was input validation, which I now believe soundly should live in the model). In this case, I can either make an ad hoc decision or think more carefully about the architectural principle. Both practices are valuable.