Earlier quoted context omitted.
> Aesthetic global optimum can never be reached Do you honestly think that writers, painters or composers doesn't know it, or it stopped them from striving? Millions of little pieces - Data modules from GHC, especially logic, lists, big chunks from Erlang stdlib, lib9, libbio, libutf from Inferno, parts of various Lisps, tons of code from carefully written books (PoFAD, PAIP/ALMA, OnLisp, etc) well-crafted projects l…
Dude, I wasn't even arguing with you. It's a true statement. My response was not meant to be in opposition to yours, it's just a remark. There was no need to say that. Don't start shit. Your comment needs to be flagged.
Knuth: Computer Programming as an Art (1974)
31–40 of 110 posts
Re: Knuth: Computer Programming as an Art (1974)
#32On the subject of art and programming, I really like how Fred Brooks described it in "The Mythical Man-Month": The delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of imagination. Yet the program construct, unlike the poet’s words, is real in the sense that it moves and wo…
Re: Knuth: Computer Programming as an Art (1974)
#33Art can occur when the same person is both the source of the requirements for the program, and the implementor of the program. Much of the art is in the coming up with the specification: that is the concept in the art. The concept can be skillfully rendered into code. Concept + skillful rendering = art.
What about algorithm problems for with the most efficient Big-O solution is known? How can you "skillfully" render code when there is only one best possible way to do it? I would argue that in those cases, programming is not an art because the arriving at the solution is very mechanical and there is literally zero room for creativity. Thus imo this answer isn't broad enough to fully define "Art"
Change the x that the big O is about, for example by using vector instructions.
Implement a theoretically less efficient algorithm that is faster (examples: switch to a O(n^2) sort for small data set, or to a linear search for smallish arrays)
Re: Knuth: Computer Programming as an Art (1974)
#34I lived the day to see YC giving credit to PG for an article written by Knuth. What's next? Symphony No. 9 by Paul Graham? Theory of Relativity by Paul Graham? The Bible? :-)
Title now changed from "Paul Graham: Programming as Art" to Knuth:
Re: Knuth: Computer Programming as an Art (1974)
#35Art can occur when the same person is both the source of the requirements for the program, and the implementor of the program. Much of the art is in the coming up with the specification: that is the concept in the art. The concept can be skillfully rendered into code. Concept + skillful rendering = art.
> Art can occur when the same person is both the source of the requirements for the program, and the implementor of the program. Unfortunately, that is frequently also the recipe for a big ball of mud [1]. I guess the beauty is in the eye of the beholder... [1] http://www.laputan.org/mud/
Re: Knuth: Computer Programming as an Art (1974)
#36Programmers work with abstractions, rather than with wood or clay. And their craft is as cerebral and intellectually demanding as an art or a science. But it's still a craft.
Re: Knuth: Computer Programming as an Art (1974)
#37Re: Knuth: Computer Programming as an Art (1974)
#38> Meanwhile we have actually succeeded in making our discipline a science, and in a remarkably simple way: merely by deciding to call it "computer science." Well not only that but we actually stuffed two misnomers in there. It is not really a science, and it is not really about computers. Chip design, graphics, storage, input devices is more about computers as such.
0: https://en.wikipedia.org/wiki/Computer_science#Name_of_the_f...
Re: Knuth: Computer Programming as an Art (1974)
#39Programming is much more of a craft than it is either an art or a science. Good craftsmanship combines beauty with utility, as does good coding. Programmers work with abstractions, rather than with wood or clay. And their craft is as cerebral and intellectually demanding as an art or a science. But it's still a craft.
Re: Knuth: Computer Programming as an Art (1974)
#40On the subject of art and programming, I really like how Fred Brooks described it in "The Mythical Man-Month": The delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of imagination. Yet the program construct, unlike the poet’s words, is real in the sense that it moves and wo…
I think this could equally be said for computer programming, except it is given life. We can see theory animated.