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

78

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

It can be artistic. Just like when I drag an ink pen across the page can be artistic. I could be writing an essay or a poem, and that would be considered art. I could be drawing something in ink, art in its purest form. Or I could be drafting a legal motion where artistic freedom is strictly limited (but if I'm working for fun partners, not completely forbidden).

But I work at a printing press. Yes, we put ink on paper, but there's not much if at any at all individual art involved. We have a very well defined standard of code and code style. Want to put a space after the if and before the opening parenthesis? That's arguably an artistic choice. Not permitted at my company though. But do it if you want, we'll have a linter fix it.

31

u/Blecki Oct 19 '26

Printing press is comparable to copying the compiled binary. Nobody claims downloading a file is art.

14

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

Programming in corporate America, a lot of the code I write is just different print sets neatly and appropriately arranged.

I do very little actual creation. Even when writing a new feature. I use the print set that "saves data to the database" when data persistence is needed. I use the print set that "displays the data to the user" when I'm writing the UI. While in this scenario, I'm not using ctrl+c and ctrl+v on the dlls, I am using it on the code.

If I don't want to use dependency injection in my code, there's a word for that, its called "wrong". If I don't want to use our existing repositories for database access and want to spin up my own connection, there's a word for that too. It's also "wrong". "But it works!" doesn't mean anything in these scenarios.

I don't get a lot of "artistic freedom" when I'm putting a new feature together.

7

u/marrsd Oct 20 '26

That says more about corporate America than it does about programming.

2

u/UnrealHallucinator Oct 20 '26

This is a shit take. Without programming standards, code becomes unreadable and unmaintainable. It's very romantic to call it art but it's not literally art. You need those rules.

3

u/marrsd Oct 20 '26

There are different kinds of standards. Corporate American standards are for turning engineers into replaceable units of labour. To do that, you have to lower standards so that you can maximise the labour pool.

I don't think you know what I mean by art if you're calling it "romantic". I'm not talking about renaissance painting. I'm talking about caring about the code you write, choosing the names of functions and variables carefully, working out how to write them so that can easily be combined to perform more powerful tasks, knowing how to balance performance with expressiveness. Even the word "expressiveness" should give a clue as to the nature of the art of programming.

1

u/UnrealHallucinator Oct 20 '26

Yeah you can romanticise choosing them, as I said. But it doesn't matter how much you romanticise them, your main goal is maintability and readability, nothing else.

I'm a frequent contributor to the linux kernel btw. All the code in the kernel, especially in the complex subsystems like /mm are art; it's beautiful. It also adheres to extremely rigid and high standards. You can't just do things "carefully" and think it's good bc careful is subjective. That's why you have standards. The difference between a painting and coding is that someone will work on the codebase after you, and someone else after them.

→ More replies (1)
→ More replies (3)

10

u/Blecki Oct 19 '26

That's nice. You missed the point of the article.

Formatting the code - the part your linter sees - isn't the part we are claiming is art.

14

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

I think you missed my counterpoint:

In corporate America, making software is NOT an artistic activity. Just like not all examples of ink on paper is art, but some examples of ink on paper is art. My example of this is using a linter. But that's just one example.

I write code in my free time, too. That is art. That is me being a "Code Poet". But at work, I operate within a very rigid system where there is a "right" and a "wrong" and "it works" doesn't determine which side of that we're on.

0

u/Blecki Oct 19 '26

I'm saying your example is bad, and that the article already covered that, not that you're wrong.

17

u/Deranged40 Oct 19 '26

Oh. I don't think that added much to the conversation then. But thanks!

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, ... ?

→ More replies (5)

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...

→ More replies (9)

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

→ More replies (1)
→ More replies (1)
→ More replies (3)