logoalt Hacker News

shotgan • today at 8:57 AM • 7 replies • view on HN

I don't see it. Programming CAN be used to generate art, but is not an art by itself.

I cannot imagine lines of code be exhibited in a museum. I can appreciate smart or witty solutions for a problem, but that is not what art is. I can appreciate a quick solution for a Rubik cube, I can even see the Rubik cube itself in a museum, but I cannot imagine the steps or instructions for that quick solution in a museum (unless that paper has historical significance).


Replies

sam_lowry_ • today at 9:09 AM

Here are a couple counter-points that come to mind:

Linus explaining taste in code: https://www.youtube.com/watch?v=78Y17hAo96I

Fast inverse square root https://en.wikipedia.org/wiki/Fast_inverse_square_root

Being a humble rank-and-file programmer I did produce pieces of code that I will be proud forever as well, e.g. this snippet to control the length of $PWD in bash that I still use almost unchanged 25 years later:

    #   How many characters of the $PWD should be kept
    local pwdmaxlen=30
    #   Indicator that there has been directory truncation:
    #trunc_symbol="<"
    local trunc_symbol="..."
    if [ ${#PWD} -gt $pwdmaxlen ]
    then
    local pwdoffset=$(( ${#PWD} - $pwdmaxlen ))
     newPWD="${trunc_symbol}${PWD:$pwdoffset:$pwdmaxlen}"
    else
     newPWD=${PWD}
    fi
➕ show 1 reply
pdpi • today at 10:41 AM

Writing by itself isn’t art, but poetry and literature are. And, by the same token, I don’t expect most works of literature to be exhibited in a museum — books are easily copied, so there’s little value to just having the book’s text in a museum.

Works like the Black Perl[0] are decidedly artistic in nature. Demos (in the demo scene sense) are an artistic endeavour. Competitions like the Obfuscated C Contest or the Underhanded C Contest are very much judged on aesthetics.

0. https://en.wikipedia.org/wiki/Black_Perl

1718627440 • today at 5:43 PM

There are different kind of arts. There is the art of a craftsmen and there is beautiful art. The former is rarely exhibited in museums unless is also has an historic value. It's the kind of excellence with that you do your work and it can be in fact in every kind of work you do.

➕ show 1 reply
johnnypangs • today at 5:30 PM

I agree, is the 100th rest api I’ve made for my 5th employer art? I don’t think so. It’s just a way to (maybe) make my employer money.

I’d say the brainfuck language on the other hand is art. Hard to draw a fine line as to which is which.

I can say most if not all the projects I’ve ever made land in the former. I’ve made some clever solutions but nothing approaching something with meaning.

➕ show 3 replies
jaapz • today at 9:11 AM

> I cannot imagine lines of code be exhibited in a museum.

Honestly, I can. The author of this article wrote Twisted. I certainly can imagine a museum where computer history is explained along with all the software achievements that made a huge impact on software engineering as a whole, and Twisted would have a place in it.

➕ show 1 reply
compiler-guy • today at 5:57 PM

Neither poetry nor literature is displayed in a museum (or at least that's not their normal home). But no one argues that they aren't art.

➕ show 1 reply