4 ms·
> I’ve read beautiful, elegant code that expressed powerful ideas in ways that made them seem obviously correct. Oh no, don't confuse the brush strokes with ar
by gwbas1c 2y ago
> I’ve read beautiful, elegant code that expressed powerful ideas in ways that made them seem obviously correct.
Oh no, don't confuse the brush strokes with art.
A computer program isn't an idea: It's a set of instructions to the computer to accomplish that idea. The "elegant code" is merely the brush strokes, the idea lives in your head and in the resulting program.
- kstrauser 2y agoIn my experience that’s just simply not true. Most code is boring and straightforward, yet some is inspired and beautiful. Some math proofs are mechanical and boring. Some are astoundingly elegant. Both get the job done. The latter gets talked about and praised.
- gwbas1c 2y ago> The latter gets talked about and praised. As someone who writes that kind of source code: It's not art, it's years of discipline and careful attention to detail. A different way to say it: A song, and its performance, are art. The sheet music, and the filing system, are not. Yet, both are important and critical tools for preserving and communicating the song. The "legibility" of sheet music comes through discipline, but isn't the art itself. Git is the filing system, and source code is the sheet music.