logoalt Hacker News

Programming is Art

56 pointsby theorchidtoday at 8:05 AM42 commentsview on HN

Comments

trashbtoday at 9:59 AM

I am (still) not a proponent for AI, however I hope AI might do to programming what the camera did to painting, and I hope that will be a good thing.

What we understand as painting today is very different then what painting meant pre-camera. Now it is mostly a leisure activity and creative outlet. Where back in the day it was a serious occupation for capturing reality, and therefore creativity was taking second stage.

I hope that coding will go that way and even though I might lose my current occupation. I feel like that might be what is needed to get out of the stagnation of current day software development (compared to early computer history). Take the money out of coding, bring the creativity in, take out the investors and keep the enthusiasts. I think that might be good for the activity that we call programming.

Also "software engineering" involves vastly more then programming or coding, so I doubt software engineering will disappear.

show 1 reply
cowanon77today at 10:02 AM

I used to really enjoy writing code, to the point where I would have thought of it as art and fine contemplation.

25 years of corporate development beat that enjoyment out of me. AI is just the final nail in the coffin. I have no enjoyment left in coding; I firmly believe the current crop of programming languages will go in the same vein as human written assembly language did.

I don't believe the current LLM-based AI will replace most other jobs, but I think it is well suited to completely replace much of programming/IT and morph it into an unrecognizable job role.

cgufustoday at 9:49 AM

> I like it when new ideas for the text come to me as I’m writing. The writing process itself — the thinking that goes on in the moment — is important to me, not just the result.

This. Applies to me while writing text, writing code and writing data analyses.

show 1 reply
xeyownttoday at 9:22 AM

Why are people mixing everything up? Since when code has a soul?

AI can be just a tool. You use it the same way you use a keyboard, a computer, a pencil, etc. I'm pretty sure you can build art with it, much like using any tool. People are making art with ascii. You can do art with anything.

But AI can also be much more than a tool, and why can't it have a soul? What's a soul anyway, except something that humans are making up to convince themselves that they are more than flesh and bones? Mythos will not do the same "art" as Fable or Astra would do. AI in 20 years will very likely produce art indistinguishable and as profound as human art. Obviously, humans at that time will always invent new criteria to say why this "art" is not good enough.

show 4 replies
raincoletoday at 9:47 AM

Playing go is art. Go was even considered one of the four main arts in ancient China. Along with calligraphy, instrumental music and brush painting[0].

It didn't stop AlphaGo from beating the best human go players, though.

[0]: https://en.wikipedia.org/wiki/Four_arts

show 1 reply
dmitrijbelikovtoday at 9:54 AM

Art is a system. And programming is a system too. They are different systems.

> If I learned PHP, I could build back-end applications. If I learned HTML and CSS, I could build websites.

So, what have you been doing for the last 10 years and why i see only 2026 in your github?

show 2 replies
Krei-setoday at 9:32 AM

Lovely to read, but AI will surely remove a lot of software engineering with little creativity.

Programming for money means managing a codebase and that's more akin to biology. You add inhibitors, promoters, etc. depending on the current requirements of the environment.

When excel is good enough to do that, people will use excel and not pay you to manage a monolith or even allow R/D to start from a blank slate with a new take.

What you create on a blank slate with your ideas might be art, but it's usually not evolving, you keep the picture, album etc. frozen in that state.

show 1 reply
bob1029today at 9:35 AM

System design and architecture are the art. Programming is a set of techniques useful in realizing these compositions.

I've never once in my life looked at a piece of code and thought "I am in the presence of god". However, the systems composed by code can often elicit this response.

michaeltetertoday at 9:41 AM

Labels rarely fit well. We can't even agree on the definition of "art".

I would prefer to say "fascination", because for some people, writing code is their fascination. Is it art if only they would label it so? Because I'm pretty sure that if a "code artist" showed their code to 10 other experienced developers, not only would some of the others not consider it art, but likely some of the others would consider it low quality.

Are code golfers artists? Fetishists? What if they believe theirs is the only way - the true artistry of coding? Would all of our single-responsibility, immutable core/imperative shell hybrid-functional code be discounted as garbage? (Not poking at the code golfers; I think they do it for the challenge, not because they believe that is how code should be written; but it illustrates an extreme.)

For most people, I think it's fair to say they write code because they are trying to make something happen. If their code runs without errors, in the necessary time, and without exhausting the computer's memory, then I believe most would consider that code "good": it does the job.

Are they working with others? Will others need to read it? If so, perhaps the most artistic code is not the best code to write. I know many professionals dislike working with the code artist who makes code that is unreadable to all but the most skilled developers, because it causes friction and leads to misunderstandings and bugs.

Now we have reached the point where general purpose code is so easily and correctly built by our AI tools that there is no practical point to writing it ourselves.

Are the AI-naysayers, the purists, writing their own libraries? Are they building everything from scratch? If not, they are not the true code artists. They have made practical concessions. They just haven't graduated to the realization that code is a commodity.

I suspect the people most against use of AI for building are the people who lack the creativity - the idea sources - and live just to translate requirements into code. They will gradually find fewer opportunities, and this threat is what probably makes them get emotional when looking at AI-built products.

sshussain270today at 9:50 AM

Anything is art if it touches the feelings. Art is a feeling.

comrade1234today at 9:22 AM

I never liked the idea that programming is an art. When there's a problem that you're trying to solve there's usually only one or two good ways to solve it and hopefully you know one of those approaches. When you start getting creative is when you start running into long-term problems, especially maintenance.

It's like chess. When you're an amateur you think your moves out, strategize, think that you're a genius for seeing three moves ahead for a few pieces. When you're a professional you view the whole board and know the standard strategy that works best for the situation. After all, chess is a solved game.

When I work with other programmers or on an old code base I want it to be boring and standard. I don't want to have to trace through six files just to figure out what's going on in one simple method call.

show 2 replies
tomashubelbauertoday at 9:27 AM

These articles and comments on them always seem to conflate programming with programming at one's job. And it makes sense, for most people that's one and the same. But if we're talking about programming and art, I think that is a major distinction.

To provide an example, I will use an existing comment here from WCSTombs: "programming is primarily problem solving, which isn't fundamentally artistic because its main goal is correctness and fitness for purpose".

I don't consider the programming I do at work to be art or expect to ever approach art. It fits their definition. But I could see some of the programming I do for pleasure to fall within that category. Correctness is nice I guess, but fitness for purpose was never a consideration in my hobby programming, quite the opposite, actually.

I was programming for a long time before I ever starting programming for money, which is why I feel strongly about this distinction, but it may be that in the current day and age, I am just being a boomer about the whole thing.

fredleytoday at 9:22 AM

Counterpoint: building integrations for SAP is not art.

show 1 reply
solarizedtoday at 9:46 AM

imo, designing the solution (architecture, algorithm, data structure) is the art.

I can steer agent to write code that I’m comfortable reading and maintaining. If it goes off the rails, I can just tell it to refactor. I can ship and get sales faster than if i were doing 100% coding by myself.

After thinking about it, I realized my initial resistance was mostly because it challenged decades of my technical habits and comfort zones. But if I steer it properly, it can basically handle the whole engineering process better and faster than I can.

In the end, it pushes me more into the managerial side of things. talking to people, aligning the product with what customers actually need, getting more sales, etc. And i'm really happy about that.

This won’t work for every engineer. Some people just really hate the management side of things.

noduermetoday at 8:46 AM

I like and believe in this paradigm, because I'm an artist ... I'm a painter and a musician, fiction writer and coder. Each satisfy something different for me intellectually. I can sink my mind fully into whichever I'm absorbed in. And I'm a perfectionist at each.

But I'm 46 and I was never able to make a living painting, writing or playing music, although I spent years trying my hand at those things while waiting tables and driving cab. Apparently the only creative output people are willing to pay for from me is what I can do with creative code. And that's fine. To me, it's just as expressive and it still lets me incorporate all the narrative and visual ideas I have, if they let me be free with it. I get $300/hr to be free with it, even now when in theory you could ask AI to do it, and I feel well compensated and appreciated.

But that being said, art is a luxury that only makes sense to pay for if you either want it to simply appreciate it, or if you see some advantage for your business by comissioning it or sponsoring it. You write as someone who views building their business as a sort of art, and those are the kinds of people I've been lucky to partner with, who also view their creative employees as artists who provide hard-to-calculate extra value through their perspective and creativity. But that's a genuinely hard sell to investors these days. I mean, my specialty was bespoke websites and apps for 20 years. But I was sought out for that. I never once went and tried to convince someone that bespoke code and art would be better for their bottom line. In fact, I spent most of that time telling people to get a wordpress site or to hire the cheapest offshore freelancers who could build them a minimum viable product.

I'm glad that people who are building their dreams still appreciate the artistry that we engineers and designers put into what we build, but I'm even less sure it's good business for a startup now than I was 20 years ago.

I suppose the one thing you do get if you hire an artist (speaking also as someone who is in charge of hiring them) is some measure of loyalty and the lucky chance at seeing something that no one has done before. That's hard to quantify on a spreadsheet, and it may only reflect slowly over time on your customers' loyalty to you. A google doodle or some other tiny, fertile patch of ground that you're willing to pay $5k a month for to some whacko like me or one of my artists.... that may end up being the heart and soul of an otherwise sterile, interchangeable brand. But we have far fewer saints and patrons than we did in the 90s, and I have to admit, overall the culture has degraded to the point that very few people care anymore about authentic or original art... of any discipline.

MadameMintytoday at 9:48 AM

If poetry is art, then writing a structured poem that can tell you _another_ poem must be, too.

ur-whaletoday at 9:03 AM

Programming can be art.

And I totally resonate with the pleasure of crafting code and the artistic aspect of it.

However, it is not just that, and when it comes to making a living, then the story changes.

And for that second part, man is AI a killer tool.

And I'll add,: even for the first part, the story isn't black and white.

If you use AI very carefully and in a collaborative manner, meaning not for the "creative writing" part, but for the "looking over your shoulder part" and "making suggestions" part.

show 2 replies
sparekontotoday at 9:10 AM

[dead]

pluctoday at 9:02 AM

[flagged]

krttherealesttoday at 9:31 AM

imo, programming can make u 10x richer, more ambitious and it also improves ur intelligence

show 1 reply
WCSTombstoday at 9:12 AM

> I love building startups, and they love writing code. For me, building projects is a way to make money. For them, programming is art.

At its very high points programming approaches art, but programming is primarily problem solving, which isn't fundamentally artistic because its main goal is correctness and fitness for purpose, not aesthetic value. I'm pretty sure for most of us the choice to use LLMs or not has nothing to do with it being art or not art. If I estimate a cost-benefit analysis, the true cost of using the LLM is much more than it would likely ever provide, so it makes little logical sense to use them except in very limited situations.

By the way, I have to say this is a really strange type of article, an explanation of the supposed opinions and attitudes of non-AI-users written by an AI user, seemingly without any input from the former group. It reads a bit as if it's building a strawman to justify the author's own views.

show 5 replies