I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong.
For some reason, this quote immediately made me think of Angular vs. Ember, and the debate about inline templates. Have a look at the template (let alone the HTML output) of an Ember application, and then at the same for an Angular application. One of them is elegant, declarative and efficient; the other… not. Does that make the ugly one ‘wrong’? It sure seems strongly suggestive. 🙂