2 ms·
Maybe this is an argument about what "beauty" means. The "alternative" presented in the text of "straightforwardness and conventionality" are examples of what
by tome 17y ago
Maybe this is an argument about what "beauty" means. The "alternative" presented in the text of "straightforwardness and conventionality" are examples of what makes code beautiful, in my opinion.
- rauljara 17y agoThat is the problem with these vague terms that are used to describe poorly defined virtues, isn't it? Everyone can take whatever meaning they choose out of a term like "beautiful code." For you, I suspect "beauty" is nearly synonymous with "good". For the author, I think "beauty" was closer to "elegance." But there I go, defining one vague term with another.
- cousin_it 17y agoYou hit the nail on the head. Generally, it's counterproductive to allow emotional valence to overshadow the cold meaning of the words. For me, a statement like "this code is beautiful but unmaintainable" sounds perfectly fine and meaningful. But many people seem to have a vague cluster of "good" words, and when they're told that a certain "good" thing doesn't have another "good" attribute, cognitive dissonance ensues and they start making stuff up.
- j_baker 17y agoFrom someone on StackOverflow: "Beautiful code is like obscenity. You know it when you see it." http://stackoverflow.com/questions/20564/what-constitutes-beautiful-code/20580#20580 http://stackoverflow.com/questions/20564/what-constitutes-be...
- Yrlec 17y ago"It's the intersection of simplicity and functionality." http://stackoverflow.com/questions/563036/what-is-elegant-code http://stackoverflow.com/questions/563036/what-is-elegant-co...