Slashdot Mirror


Is Programming Art?

chromatic writes "A constant question for software developers is 'What is the nature of programming?' Is it art or science? Does creativity or engineering lead the design and implementation of a program? John Littler talked to several well-known and well-respected programmers (including Guido van Rossum, Andy Hunt, Bjarne Stroustrup, Paul Graham, and Richard Stallman) to find their answers; he shares their thoughts and his own in Art and Computer Programming." From the article: "What the heck is art anyway, at least as most people understand it? What do people mean when they say 'art'? A straw poll showed a fair degree of consensus--art is craft plus a special degree of inspiration. This pretty much explains immediately why only art students and art critics at a certain sort of paper favor conceptual art. Conceptual art, of course, often lacks a craft component as people usually understand the term."

36 of 462 comments (clear)

  1. Not a fine art by fembots · · Score: 5, Insightful

    I think Richard Stallman put it quite nicely:

    "I would describe programming as a craft, which is a kind of art, but not a fine art. Craft means making useful objects with perhaps decorative touches. Fine art means making things purely for their beauty."

    When you have to take functionality into account, it often kills the artistic side of the creation.

    1. Re:Not a fine art by SIGALRM · · Score: 5, Insightful

      Since programming is an art, we ought to be able to classify types of programmers. Here is a start;

      The Picasso programmer: As a whole the system works, but each piece is a warped view of reality.

      The Jackson Pollack programmer: Throws code at the system, trying to see what works.

      The Georges Seurat programmer: When you step back from the system, you can see the overall pattern, but close up each piece is totally distinct from all of the others. (Actually, this is a pretty good description of OO design).

      The Michalangelo programmer: Has a grand, sweeping view of what the system should do, but each piece is done in such meticulous detail that it takes years to finish anything.

      --
      Sigs cause cancer.
    2. Re:Not a fine art by ShaniaTwain · · Score: 5, Insightful

      When you have to take functionality into account, it often kills the artistic side of the creation.

      That would mean that architecture, furniture design, etc lacks in the artistic side? I dont think this is the case at all - giving something functionality doesnt remove the artistic side, they complement each other and are not mutualy exclusive.

    3. Re:Not a fine art by Waffle+Iron · · Score: 5, Funny

      Unfortunately, most software on the market seems to have been written by the "Dogs Playing Poker" programmers.

    4. Re:Not a fine art by Tackhead · · Score: 4, Interesting
      > I think Richard Stallman put it quite nicely:
      >
      > "I would describe programming as a craft, which is a kind of art, but not a fine art. Craft means making useful objects with perhaps decorative touches. Fine art means making things purely for their beauty."
      >
      > When you have to take functionality into account, it often kills the artistic side of the creation.

      Depends on the code. Depends on the art.

      I'd consider every entrant into contests like the IOOOC (or obfuscated-your-language-of-choice), to be art. I'd consider any esoteric computer language (a whole line of 'em including INTERCAL, Brainf*ck, Ook, and so on) to be art for art's sake.

      But as for functionality "killing" the artistic side of the equation -- sometimes the most functional things are the most beautiful. Lamborghini, Ferrari, Aston-Martin, Rolls-Royce, Bentley, XB-70 Valkyrie, SR-71 Blackbird, Concorde. Very functional machines, designed to perform very different functions, for very different people. And all very beautiful.

    5. Re:Not a fine art by squidfood · · Score: 5, Funny
      Unfortunately, most software on the market seems to have been written by the "Dogs Playing Poker" programmers.

      And there's a market for that. Hence, Visual Basic.

    6. Re:Not a fine art by LaminatorX · · Score: 4, Funny

      Michelangelo must be the lead programmer for the HURD.

    7. Re:Not a fine art by Com2Kid · · Score: 3, Interesting
      • Programming can be a highly developed craft, but it cannot be art.


      Now that is not true, just as many Fashion Designers design cloths that have no practical value outside of being "showcased", I as a programmer can write a program that has no practical purpose outside of showing others a particularly nifty bit of code.

    8. Re:Not a fine art by lskutt · · Score: 5, Interesting

      I agree, but not completely. Paraphrasing the czech theorist Jan Mukarovsky[1]: art is when the aesthetic function is greater than all other functions.

      Therefore, I would conclude that programming per se is not art, but that it very well can be - if intended. Consider the IOCCC. While all competition entries do perform some kind of practical function, the main purpose of each one is to be elegant, beautiful, ingenious etc.; properties which we usually associate with art.[2]

      [1] Mukarovsky, Jan, "Aesthetic Function, Norm, and Value as Social Facts.", 1936.
      [2] Note to self: I need to learn english grammar and spelling.

    9. Re:Not a fine art by Desert+Raven · · Score: 3, Informative

      Wow, I agree with Richard on something.

      All programming is a craft. Some of it may be crap, and some may be outstanding, but nonetheless, it is craft. Think of it like woodwork. Some pieces are shoddy little boxes nailed togather with scrap. Others are beautiful and extremely strong, with joints so tightly fit that the only way you even know they are there is by the change of the wood-grain.

      *Some* programming is art. (Not much in my opinion.)

      In addition to being a programmer, I'm a leatherworker. Most of what I do is pure craft, but not necessarily art. Belts, straps, repairs, pouches, etc.

      *Sometimes* what I do is art. These are functional pieces with elaborate carving, painting and even occasionally gold leaf and such. They are one-of-a kind pieces that even if another craftsman copied them, would never be quite the same as the original.

      That said, the vast majority of code out there is not even up to journeyman standards, let alone master-craftsman level.

    10. Re:Not a fine art by Mingco · · Score: 3, Funny
      Paraphrasing the czech theorist Jan Mukarovsky[1]: art is when the aesthetic function is greater than all other functions.
      Paris Hilton serves no function. Although Paris Hilton's aesthetic function is low, all other functions are even lower. By Jan Mukarovkey's definition, Paris Hilton is art.
  2. Both! by ssimontis · · Score: 4, Interesting

    I'd say it is mostly science by nature, but you can make it into an art. You can make just about anything into an art with enough creativity. I can see how you might think it could be an art without doing anything special, but I feel it is a lot more technical.

    --
    Scott Simontis
  3. Well... by Donniedarkness · · Score: 5, Funny

    Programmers do meet one of the requirements that you have to meet to be considered an artist: They make no money.

    --
    Earn a % of cash back from Newegg, Tiger Direct, Walmart.com, and more: http://www.mrrebates.com?refid=458505
  4. Emotion? by Anonymous Coward · · Score: 3, Insightful

    For me, art must express some level of emotion. Good art communicates that which cannot be said.

    While Windows sometimes makes me cry, to what degree does programming convey emotion?

    1. Re:Emotion? by Joff_NZ · · Score: 3, Funny

      For me, art must express some level of emotion.

      It does. More often that not, code inspires in me pure, unadulterated rage

      --
      The revolution will not be televised. It won't be on a friggin blog either
  5. It's engineering by Anonymous Coward · · Score: 5, Insightful

    Same as usual, a bridge can be beautiful to look at, beautiful in how it copes with it's load etc, same as code, it's just people don't like looking at code as engineering for some reason.

    1. Re:It's engineering by BenJeremy · · Score: 5, Interesting

      Well, to some degree, engineering can be art.

      Consider great works of architecture... certainly, the simple task of building a bridge, or some building can result in the most straight-forward, brute-force application of a solution, but the results would not be as elegant or noteworthy.

      Similarly, code can be kludged to hell, lacking any elegance and as a result, impossible to enhance or even maintain... or a software engineer could architect a system that is elegant and even mostly reusable (or even better build such a system out of a large library of code already written).

      Unfortunately, the difference is lost amongst probably 80% of the "programmers"
      out there, who have more of an attitude of "get 'r done" and "if it ain't broke...". We talk about patterns, algorithms, processes to developing solid applications and systems, but end up dealing with managers or clients who couldn't give a rat's ass about it until a quality audit is announced.

      I know a handful of very talented engineers who can design "on the fly" - elegant design work, and as a bonus, they know the engineering side, as well. Put the two together, the SCIENCE of applying basic engineering principles, along with the ART of intuitively understanding the best flow of an application, and you've got solid code.

      To put it another way, I've seen guys who know the process side of software engineering inside and out - but couldn't code their way out of a paper bag, and certainly cannot architect a real software system. They know the science, but lack the artistry (i.e the creative thinking).

    2. Re:It's engineering by yoha · · Score: 4, Insightful

      it's the architecture of a bridge that's art. the engineering is science.

  6. Similar: Is an essay art? by mister_llah · · Score: 4, Insightful

    If a well-composed essay is a form of art... I would have to say an efficient program is certainly a form of art.

    You just have to remember the appeal of art of this sort is MUCH smaller... you need to understand it to really enjoy it... and unlike abstract art or modern art (where very few understand it and very many say they do) ... you have very few who understand it... and not a lot of people who care a lick about it.

    So, yes, it is an art form... for a very small subset of the population.

    My two cents, anyway...

    --
    MoM++ - A Classic Expanded - [Master of Magic 1.5]
    http://mompp.sourceforge.net/
  7. The Perfect Slashdot Story by DanielMarkham · · Score: 4, Insightful

    Load up the cannons -- here's the perfect slashdot story: programming art or science?
    That's like a story that's titled, "Chocolate Ice Cream, better than Vanilla?"
    Art is subjective. If you believe that some part of science is subjective as well, then you understand that there is no easy answer to the question posed. If you think science has no subjectivity, then welcome to the food fight!

    Quality: It's a Numbers Game

  8. Re:Drivel by slavemowgli · · Score: 4, Insightful

    If coders *only* do what they must to get the job done, then how do you explain Perl poetry, for example? What about Perl golf?

    How about things like quines, or programs that are valid and working programs in more than one language at once?

    Aren't these things art? If not, why not? A programming language is, per se, just a tool - just like a brush. You can use brushes to simply coat things with paint, and there are many people who do just that for a living; but you can also use them to create art. The same goes for programming languages, doesn't it?

    --
    quidquid latine dictum sit altum videtur.
  9. No, it's a craft by Linus+Torvaalds · · Score: 3, Insightful

    Art is aesthetic, not useful. While you can use those aesthetics for a useful purpose (e.g. selling it to people who appreciate those aesthetics), that doesn't mean it's intrinsically useful.

    Programming is a craft. It is useful, which distinguishes it from art. A certain sense of aesthetics, skill and experience is necessary to program effectively, which distinguishes it from merely being a profession.

  10. CS is science. Design is art by AuMatar · · Score: 5, Insightful

    Computer science- the concepts of bits and bytes and memory addresses is a science. There is a right and wrong answer for pretty much everything. Its researchable and falsifiable.

    The design of a computer program is an art. There is no defined standard for what is or is not good design, its not falsifiable. And its not something that can be taught by rote in a college course. Picking the right design for your specifications and requirements is an art, and one that too few people really understand.

    --
    I still have more fans than freaks. WTF is wrong with you people?
  11. Art is as Art does by ScentCone · · Score: 4, Interesting

    There's just no one big bucket called "programming." To the extent that one's code interacts with, or communicates to a user, there's ample room for an artful implementation. Especially when the code's purpose is, through that interaction, to inform or pursuade. Yes, that's getting into "content" rather that programming, but the line between those is very, very fuzzy, especially in web development.

    That being said, I think there's a certain intrinsic beauty to the way that I indent my subroutines.

    --
    Don't disappoint your bird dog. Go to the range.
  12. Re:What is art? by postgrep · · Score: 3, Funny

    My perl code looks way sexier than Britanny Spears, how come IT didn't win one of the 50th sexiest people?

  13. Re:Drivel by Tyler+Eaves · · Score: 4, Insightful

    What should problem happen is a split.

    Have to programs, "Comp Sci", which would remain what is is, and "Programming" which would focus much more on "real world" issues. Think of it kinda like Physics vs Engineering.

    --
    TODO: Something witty here...
  14. It's not art by brkello · · Score: 3, Insightful

    A constant question for software developers is 'What is the nature of programming?' Is it art or science?

    Maybe I am a strange software developer, but these are not the questions going on through my mind at night. Maybe "how can I improve the design" or "what does the customer really want from this product" but usually it's "how can I get that cute girl back to my place". Seriously though, these people have too much time on their hands. I didn't RTFA, so it may be brilliant. But programming is definitely a science. The thing is, that as programmers, we can recognize beauty in the design and implementation of a program. In that sense, to us, it can be beautiful. We might say the programmer is so good that he is an artist. But this is true in any field. We have someone install our networks and truly, he is an artist. He takes the spaghetti of thousands of cables and makes it so neat and logical it would make an artist weep. But is it art? No...that's a stupid question.

    --
    Support a great indie game: http://www.abaddon360.com
  15. Programmers come from vastly different backgrounds by 5n3ak3rp1mp · · Score: 3, Insightful

    People who come to enjoy programming, in my experience, come from all sorts of backgrounds. I have met coders who were formerly big into music, or poetry, or photography, etc. I myself was a psych major (albeit a CS minor), which might explain my interface-nazi tendencies with regards to UI design ;) I couldn't be a CS major because I kept messing up ::cough:: flunking ::cough:: my "weedout" engineering calc classes (which were a CS requirement at my school), but in hindsight, I liked being able to take lots of electives. So, although I would be at a loss to create a new useful compression algorithm, and am probably not the BEST programmer out there, i really like to design and develop nice code/nice backend database schemas, that result in something that someone thinks is kickass.

    Unlike a lot of coder geeks I know, though, I got A's in advanced english classes, AND art classes ;) So I can actually document my own stuff pretty well, and I've been client-facing for a while so I know how to write courteous emails with lots of e-business-speak... ;)

    My boss at my former job used to play football and now codes. Can you imagine?!?! Football! While I spent summers geeking out, he was learning what a button-hook was. The horror. lol. (i pretty much have zero interest in sports. it seems like a lot of pointy-haired types do, though. oh well, to each his own)

    Meanwhile, the two coders I know who I used to secretly idolize because they actually WERE cs majors, got tired of coding and are now both getting MBA's (which seems like a boring thing to do, were I to do it). Their complaint was that coders get shit on at corporate jobs, and they were just tired of the whole design/code/test/deploy/debug/support cycle.

    Screw 'em, they also liked football ;)

    I know what they're talking about in the former case of feeling taken-advantage of (not to mention that I am TIRED, TIRED of working with Microsoft-only technology, from an ideological/stuck-in-the-Microsoft-bubble standpoint!), and my solution to that is probably going to happen soon. Take my savings, quit my corporate job (which has done nothing for my technical development lately) and code freelance for a while. Wish me luck (I'm a little nervous), I have a few ideas and I'll be starting by diving headfirst into Ruby/Rails and seeing where that takes me ;)

    Perhaps I'll never be a millionaire (or perhaps I will), but building stuff (the craft of it, and the type of creativity required at times) that someone else thinks is cool really floats my boat.

    Who cares what programming "is", as long as people stop frickin' stereotyping us. The only thing that all programmers have in common, is that they program. The rest of it, like the difficulty in dating the opposite sex, is just positive correlation ;)

  16. What would Mozart have thought? by blackhedd · · Score: 4, Insightful

    Mozart considered composition a craft. So did Bach, who regularly turned out a new cantata most weeks for his job at the Thomaskirche in Leipzig. The notion that artists have special access to some emotional content not available to ordinary craftsmen is a nineteenth-century idea. But everyone agrees that both Mozart and Bach had access to some pretty unusual stuff- we hear it and respond to it.
    The content of programming is perhaps too instrumental (i.e., interesting for its usefulness more than its inherent qualities) to rise to the level of art. But this may be changing with the state-of-the-art games. In a hundred years, people may look back at today's game developers as the inventors of a new art form!

  17. More of a continuum. by khasim · · Score: 4, Insightful

    With 100% pure functionality (and pure ugly) at one end ... ...
    functionality mixed with aesthetics in the middle ...

    And at the other end, 100% pure aesthetics with no functionality (apart for the materials used).

    Of course, why limit it to one dimension? How about 2 dimensions (a square). In one corner, a bad woodworker who is also a bad artist will make a crappy, ugly chair.

    In the opposite corner, you have a very skilled woodworker who is also a very good artist who makes a very beautiful, yet very functional chair.

    In the other corners are a bad-woodworker but good good-artist and a good-woodworker but bad-artist.

    1. Re:More of a continuum. by Politas · · Score: 3, Insightful

      Definitely separate dimensions. More than two, though.

      It's about focus and the amount of care taken. If someone cares about aesthetics, then they tend to make more aesthetic things. If they care about functionality, then they will make things with greater functionality. If they care about robustness, they will make things that are more robust. If they care about speed, they will make things faster. If they care about cost, they will make things more cheaply. Not all of these things can be combined, of course.

      --

      Politas

  18. Didn't Knuth answer this already? by John+Jorsett · · Score: 3, Informative
  19. Misleading Question by voidphoenix · · Score: 3, Insightful

    I think the central problem is the misguided assumption that art, craft and science are mutually exclusive, as are beauty and utility. As some have already stated, there can be beauty in functional things: the Lamboghini Countach, the SR-71 Blackbird, the Golden Gate Bridge. Leonardo da Vinci is considered among the greatest artists, and yet he was a scientist, inventor and engineer. There is such a thing as beautiful code, programs which can be considered art. Not everybody can appreciate them, just as not everybody appreciates the beauty of a fugue, a poem, a painting or an essay. Most programmers write code to simply fulfill specifications, but the artists among us fulfill those specifications with beautiful code. Therein lies our art.

  20. Dance and art by falconwolf · · Score: 3, Interesting

    Another example is performance art. None of it has practical value, it's not craft, nor is most of it aesthetically pleasing to the eyes.

    I won't speak of all performance arts, just Dance, but it can have a practical value. For both the dancer and for the audience. Years ago I was an amateur dancer, having taken some dance classes in college, danced in different dances, and worked on other dance performances. Several years ago I had a bad accident and the first thing I thought of for physical therapy was dance, so I talked with a friend who taught dance including the ones I took and she recommended I take ballet saying it would help with my coordination and endurance. As it was I didn't have the endurance to take the class. The last tyme I went to class, as usual, I stayed there after ballet and watched the Jazz class and I realized that while I could recall the steps for Jazz, I couldn't recall them for ballet, there would of been no way I would of had the energy for jazz. As for watching, like myself I've known others who feel so much better and/or motivated after watching a dance performance.

    And no I wasn't an art or dance major, my major was computer engineering.

    Falcon
  21. Re:Drivel by AvantLegion · · Score: 3, Funny
    >> how do you explain Perl poetry

    Geeks without dates.

  22. Yes by cspring007 · · Score: 3, Informative

    Programming of any sort of value is most certainly an artform
    Well, at least, that is what i think of it as. Anyone can write code. Writing code well and being innovative is an art.

    this is also an art
    http://gprime.net/images/sidewalkchalkguy/
    Coolest thing i have ever seen.
    ...Now if only he could somehow hook it up to google maps..