On Designing Great Systems

“A good framework or a good architecture makes it hard to do the wrong thing. A lot of people will always go for the easiest way to get something done. So as a systems designer, your job is to make sure that the easiest thing to do is the right thing. And once you get that, the whole system gets more maintainable.”

Nicholas Zakas, Javascript Jabber 075 - Maintainable Javascript with Nicholas Zakas

By the way, Zakas has written a number of great Javascript books, and having just read one, I highly recommend you check them out.