编程是艺术
Programming is Art

原始链接: https://orchidfiles.com/programming-is-art/

作者回顾了自己与编程之间关系的演变,从最初对创作的痴迷,转变为将编程主要视为构建盈利性初创企业的工具。尽管作者乐于见到创业成果,但他们承认自己与“真正的”程序员之间存在本质区别。 对于作者而言,编程和写作是实现目标的实用手段——即创造收入或交付成品的途径。相比之下,“真正的”程序员将编程视为一种艺术形式。他们从调试代码到逻辑设计的整个过程中获得乐趣,无论是否有经济回报或人工智能如何进步,他们都会坚持下去。 作者将此与自己的写作过程进行了类比:正如他们更喜欢手工写作的劳动,而非人工智能产出的“无灵魂”内容一样,他们意识到对于真正的代码艺术家来说,创作行为本身就是一种内在且不可替代的奖赏。归根结底,对于那些不仅将编程视为工作,更将其视为人工智能无法复制或满足的创造性激情的人来说,对被人工智能取代的担忧是毫无意义的。

这个 Hacker News 讨论帖探讨了编程是否属于一种艺术形式,其起因是一篇题为《编程即艺术》的文章。 讨论集中在以下几个核心观点: * **职业与个人的分野:** 许多评论者区分了商业编程——它优先考虑可维护性、正确性和适用性——与业余编程,后者允许进行创造性表达。职业工作常被描述为出于必要而显得“枯燥且标准化”,而个人项目则提供了实验的自由。 * **作为艺术的解决问题:** 一些人认为,解决问题是所有艺术(包括传统媒介)的内在特质。他们主张,程序员代码中体现出的个人风格和“签名”与画家或作家的风格选择如出一辙。 * **人工智能的影响:** 参与者争论 AI 究竟仅仅是一个工具,还是改变了创造力本质的催化剂。一些人认为,AI 在协作使用时可以增强创造过程,而另一些人则担心现代初创企业以商业驱动的文化,正在以牺牲原创的“艺术性”工艺为代价,转而追求冰冷的效率。 * **商业现实:** 一些专业开发人员指出,虽然他们为自己手艺中的“艺术感”感到自豪,但客户很少会为美感买单——他们支付的是功能性强、可靠的解决方案。
相关文章

原文

When I started programming, my whole day revolved around development. I’d wake up, write code, and go to sleep. And that’s how it was day in and day out. My entire social circle consisted of people who also wrote code. I studied frameworks, libraries, and various programming languages.

I got into development because I was fascinated by the idea that by writing code, I could create new programs. All I needed to do was learn how to program, and I’d be able to create anything. If I learned PHP, I could build back-end applications. If I learned HTML and CSS, I could build websites.

I could choose what I wanted to create, learn the necessary technologies for it, and start building. You open an IDE, create a new project, and build it from scratch. You choose patterns, libraries, and frameworks; you read the documentation and dive into the source code. You get so immersed in the process that you don’t even notice how the days fly by. Over time, you develop your own coding style.

I wrote code, and I enjoyed writing code, but it wasn’t the kind of work I wanted to do for the rest of my life. I preferred creating something new to the actual process of writing code. I liked starting from scratch — with nothing but an idea — to create a product that people actually use. That’s why I’ve always worked exclusively at startups and never at large companies.

I’ve always dreamed of advancing my career — to become a team lead, a manager, or to take on another role that didn’t involve writing code. And whenever someone else could write the code, I’d shift away from coding toward managerial tasks. Whether I wrote the code myself or delegated it to others didn’t matter to me.

Although I got into development out of an interest in creating things, later on I did it solely because I was getting paid for it. For me, it was just a job. Even though I wrote code in my free time, I still used that approach to build my own startups, which I planned to make money from. Writing code and making money were inseparable. Over time, income from projects became the main focus, rather than simply the desire to create projects.

But there’s another type of person. These are true programmers who write code regardless of income. They write code simply because they can’t help but write it. It doesn’t matter to them how much money they make from it. They might work on open-source projects that will never generate any income for them.

They enjoy writing code, solving development challenges, designing, figuring out the logic, fixing bugs, and understanding the entire system as a whole. They enjoy the process itself. And they’ll never hand that over to AI agents.

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

That’s why all my arguments about how AI helps me build projects are completely irrelevant to true artists. They don’t need AI to help them with anything.

And that’s why there’s often a negative reaction to the claim that AI will soon replace all programmers. For artists, this claim itself is illogical. Even if some technological breakthrough occurs and AI can truly work autonomously and solve problems hundreds of times faster than humans, people will still continue to write code by hand, line by line. AI will never be able to take away their ability and desire to write code.

I don’t use AI when writing. It produces soulless, bland text. AI slop that no one wants to read. I want to come up with the wording myself, proofread and edit the text, come up with a title, and delete unnecessary sentences and entire paragraphs. 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. If I asked an AI to write a text on the topic “Programming is art”, that thought process wouldn’t happen. I wouldn’t experience the same emotions that come with writing it myself. For me, writing is art that I pursue regardless of money. I think people who enjoy writing code feel the same way.

Subscribe

联系我们 contact @ memedata.com