r/programming • • Oct 19 '26

Making software is an artistic activity

http://kolemannix.com/blog/software-is-art

A brief argument framing software creation, and specifically the details of the code, as an act of art

342 Upvotes

141 comments sorted by

View all comments

Show parent comment

2

u/EarlMarshal Oct 19 '26

It should be artistic.

5

u/Dragdu Oct 19 '26

As opposed to workmanlike and utilitarian? And why?

I would rather not interrogate code through shared experience with the author. In fact, I would prefer to give the author of code I am using as much thought as to the author of the plumbing I am using; none at all.

1

u/EarlMarshal Oct 19 '26

Opposed? You achieve that through the artistic expression. Look at utilitarian design for example.

  In fact, I would prefer to give the author of code I am using as much thought as to the author of the plumbing I am using; none at all.

That sounds like a you-problem if you do not want to share experience with other human beings.

2

u/Dragdu Oct 20 '26

So when you are cooking and pick a wooden spoon out of the cupboard, do you start pondering the woodworker who made it? Or do you just check that it is the right size and keep cooking?

When you turn on the lights in the evening, do you consider the electrician who installed the wirings and what he was thinking when he made the wiring?

When you flush the toilet, do you consider the plumber who made your plumbing?

When you wash your hands, ... ?

0

u/EarlMarshal Oct 20 '26

Stupid comparisons. I actually made my own silicon spoons for cooking. The husband of my sister is electrician. We installed the solar panels and wiring together.

At this point you guys just show that you lack responsibility for your environment and almost anything that is happening around you.

9

u/Deranged40 Oct 19 '26 edited Oct 19 '26

No it shouldn't. If I'm going to hire someone to do it, it should be profitable.

But, just to entertain. Specifically, from a purely capitalistic perspective, why "should" it? And I ask specifically from a capitalistic perspective, since the only reason I'm employed is due to capitalism.

Again, the code I write at home is artistic. But the code I'm paid to write at work definitely is not.

I don't need an answer to why the code I write at home should be artistic, I need an answer to why the code I write at work should be. They wouldn't pay me if they didn't think I was offering them more value than they're paying me.

15

u/EarlMarshal Oct 19 '26 edited Oct 20 '26

Because the elegance produced by an artistic approach serves pragmatism. People not reading code anymore exactly shows that. The art is missing and the code becomes unintelligible. That's also why most enterprise code before AI sucked too.

P.S.: The previous commenter just changed his whole comment...

7

u/Skeik Oct 19 '26 edited Oct 19 '26

In artistic circles the "Is it Art" discussion has become so tired that most artists don't entertain it. Like, who cares? What effect does the label have on what is in front of you?

I think you two are speaking past each other because your definition of "Art" is different. Instead of using the term "artistic" to describe something we should be more concrete and use terms that people can agree on the definition of.

1

u/EarlMarshal Oct 19 '26

I do not take responsibility for the kind of definition other people use for words. If that would be the case everyone would have to relearn languages.

5

u/Skeik Oct 19 '26

I don't believe I said you should...

-1

u/Deranged40 Oct 19 '26

Because the elegance produced by an artistic approach serves pragmatism

How?

People not reading code anymore exactly shows that.

Okay, then let's be pragmatic, and explain what specific indicators we see that "shows that".

The art is missing and the code becomes unintelligible.

"Art" doesn't mean "intelligible". Deciding to nest 23 ternaries is an "artistic choice". I'd argue it's a terrible one, but terrible doesn't mean "not art". Not only will that increase the cyclic complexity of a function, but it will dramatically increase the cognitive load on any developer reading it. Every developer, at every level from junior to master has a cognitive limit, and it's always better to reduce that cognitive load.

That's also why most enterprise code before AI sucked too.

This is just proving that AI isn't a major factor in this. Enterprise code doesn't strive for "beauty" or "elegance". It strives for making the company more money. It always has, and it always will.

6

u/EarlMarshal Oct 19 '26

Okay, I'll ignore everything except the last part since it's not really worth the effort. Most of that was discussed before and you can look up articles and papers.

This is just proving that AI isn't a major factor in this.

No, it's just not the only factor, but it will become the major factor through the reason you stated.

1

u/marrsd Oct 20 '26

How?

How do you think?

Okay, then let's be pragmatic, and explain what specific indicators we see that "shows that".

That would be the science part.

"Art" doesn't mean "intelligible".

It doesn't only mean "intelligible", but it certainly does mean that.

Deciding to nest 23 ternaries is an "artistic choice"

No, it's the opposite of an artistic choice.

This is just proving that AI isn't a major factor in this. Enterprise code doesn't strive for "beauty" or "elegance". It strives for making the company more money. It always has, and it always will.

And that's why most modern enterprises fail. They fail to care about what they produce and their customers fail to buy their products as a result.

I'm rather irritated that I have to explain this to you, but since I do, here it goes:

Beautiful, elegant code is code that is easy to read, fix, and modify. In other words, it takes less time to produce, and since programmers are paid for how much they produce over time, writing beautiful elegant code lowers the company's expenses. At the other end, users actually care about the quality of a product they're paying money for, and believe it or not, that quality is a direct result of how much the author cared about writing it.

1

u/Gold-Part4688 Oct 20 '26

god, how is this stuff even contentious now. how is "but i can make more code than you" an argument?

Imagine if bmw didn't care about how their car was designed, and just wanted the cheapest think that "works tho"

1

u/marrsd Oct 20 '26

I share your despair. As for your BMW example, we don't need to imagine it. Just look at what happened to Ford Europe.

1

u/Dragdu Oct 20 '26

You are mistaking craftsmanship for artfulness.

This: https://pastebin.com/pxKzg4zD is absolutely art, and most people I've shown it to would say it is beatiful. But fixing bugs in it? RIP

1

u/marrsd Oct 20 '26 edited Oct 20 '26

No, you see code formatted in the shape of the thing it produces and you see only artistry in that because you're limiting art to visual form. There is some artistry in that, but it's very superficial and it's not related to the programming. Art is the thing that comes beyond craft. You have to be a good craftsman before you can be a good artist. As the saying goes, you have to learn the rules before you can break them.

The trouble is that art has been traduced for so long in western culture now that many people have forgotten what it actually is. Making a bed out of mouldy slices of toast and putting it in an art gallery is not art in any meaningful sense.

It might be helpful to remember that the words "art" and "science" originally meant something closer to what we would now call "practice" and "theory", and they were counterparts for each other. Art was the process of discovery and science was the process of formalisation, and once you had formalisations, you could use them to discover new things, and so they cycle would continue. A modern day example of that is the development of Formula 1 cars, but when the Ancient Greeks were doing it, they were more interested in music and architecture.

For music, the Ancient Greeks worked out that some notes reinforced and supported each other while others clashed - or to put it more simply, some combinations sounded beautiful while others sounded ugly. They studied this phenomenon mathematically and worked out that the perfect scale was based on the golden ratio (I don't know if they discovered the ratio through music or if they already had it, and applied it to music). That was the science of music. The art was to then make music using that scale and see what else they could discover.

When it comes down to it, that's still what art really is. We have so much theory now that there's a lot to learn. Mastery of the theory (or science) is what we call learning the "craft". We save the term "art" for when the artist goes beyond the craft into realms that the theory can't fully explain. A great artist will literally be the inspiration for new theory.

In practical terms, it's the difference between Nigel Kennedy's rendition of The Four Seasons and all his contemporaries'. The artistry was clear in what he invoked in his audience, but he was playing all the same notes in the same order.

But earlier I mentioned Formula 1, which clearly has nothing to do with music, but it's following the same process. Colin Chapman, founder of Lotus, was one of the greatest engineers of his generation because he was working at the apex of art and science. His ideas weren't scientifically proven. He proved them on the race track, building on the knowledge and mastery of science he had already acquired, and then his discoveries were formalised.

→ More replies (2)

3

u/simonask_ Oct 19 '26

Just because you’re selling your soul doesn’t mean you have to cook it and marinate it for your lords too.

3

u/EveryQuantityEver Oct 19 '26

Profitable and artistic are not mutually exclusive.

And while I don't really give a damn about the "capitalist perspective", code that is artistic means that it had thought put into it. It was done with intention. That kind of code generally has fewer bugs in it, and is easier to modify when needed.

1

u/Deranged40 Oct 19 '26

Profitable and artistic are not mutually exclusive.

No, but in business, profitable is mandatory, and when software is your product (and not the code itself), artistic is not. Any time where choosing artistic takes away from profit, that's the wrong "business choice".

4

u/EveryQuantityEver Oct 19 '26

That's not even close to true. There are tons of things in business that take away from profit, but if you don't do them and pay that cost, you fuck yourself later.

3

u/fexonig Oct 20 '26 edited Oct 20 '26

when you say “you fuck yourself later” you mean that you end up losing more profit than the alternative, just maybe at a later date.

it’s all, always, about profit, just not always short term profits

1

u/Gold-Part4688 Oct 20 '26

lol, try explaining this logic to any ceo or government though. It's true, but it's still a refutation of "only care about profits"

→ More replies (1)