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

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.

0

u/Dragdu Oct 20 '26

So basically you are using the word art differently than in common parlance and then you are arguing that other people are wrong when they don't agree with you.

For the record, under the art -> mastery of practice substitution, I don't really disagree with you.

2

u/marrsd Oct 20 '26

Maybe we operate in different circles. People quite commonly use the word art in the way I described, particularly in relation to engineering. The Jaguar E-Type and Concorde are two obvious examples of that. People refer to great musicians as artists all the time.