仍然可以享受编程
It's still ok to enjoy programming

原始链接: https://chriskiehl.com/article/it-is-still-ok-to-enjoy-programming

作者反驳网上关于编程的悲观论调:工作经济环境变了,但为乐趣编程仍值得。他们周末仍手写一个有 bug 的 Breakout 克隆,并探索像 Java 类型安全和递归方案这样的随机主题,不是为了实用性,而是为了快乐和成长。他们指出,艰难的学习日后可能有回报,即使价值不是立即的。他们感到社会压力认为享受无意义,但说断开连接能恢复视角:享受事物不需要经济理由。他们也喜欢不读代码地 vibe coding 应用,作为另一种乐趣。

Hacker News 讨论的焦点是,随着 AI 工具重塑编程这一技艺,编程是否仍然令人享受。许多评论者哀叹亲手编写代码的体验正在消失,尤其是在工作中,他们感觉自己从写代码转变为管理智能体和审查输出;有些人表示 AI 也扰乱了业余编程和社区协作。其他人则认为 AI 提高了生产力,支持更有野心的项目,并减少了繁琐工作,质量取决于技能和监督。该话题还探讨了职业倦怠、经济压力、职业路径变化,以及编程是否应被视为爱好或技艺。总体而言,观点在哀悼旧有编程体验与拥抱 AI 辅助创作之间分裂,同时承认软件工程未来的不确定性。
相关文章

原文

Published: 2026-10-17

Reading Hacker News makes me feel like I need to write this: it's still OK to enjoy programming.

Yes, at work, where you are paid to produce value for a business, the economics of purely hand-written code have changed. But that's work. Work is not life. The loudest voices on the internet are the saddest and most infectious.

To throw a tiny counter example in the sea of despair: I still program on the weekends because it is fun. I'm currently learning game programming! My current level of sophistication is a buggy Breakout clone with terrible collision detection. I write it by hand because I enjoy it. I struggle with problems because solving them makes me happy. It doesn't bother me that Claude could one-shot it, because that's not the point.

I also get side-tracked from working on this "game" to study random programming topics. Last weekend was exploring how far I could push type safety in Java using ideas from dependently typed languages like Agda. There is no point to this. It gets tucked away under "interesting ways of thinking about a particular problem." Maybe it will come up in work life. Maybe not. I did it because exploring is was fun[0].

A few weekends ago: recursion schemes. Technically, this was not fun. I spent hours of banging my head against a wall. In the end, I still don't even know what's valuable about the ideas[1]. But I do know that many of the most beautiful ideas in programming only become clear to me after years of baking in my mind. It's why entire papers get written about Monoids. Maybe one day I'll find a problem that this applies to. Maybe not. I did it because understanding hard things is rewarding.

I write this because I increasingly feel a strange social pressure. It's like I'm not "supposed" to enjoy this any more. As though there's no point or joy to be had in continuing to grow as a human. The more of this doom stream you consume, the more it starts to infect you. Maybe "there is no point," you find yourself thinking. But this disappears as soon as you disconnect.

It's OK to enjoy things[2]. Doing so requires no economic justification.

Footnotes:

  • [0] Take the time to understand Fin one day. It is beautiful.
  • [1] I'm not there yet, but the goal of studying this is to give myself another tool for reasoning about program correctness algebraically (a topic I cover in my book!)
  • [2] I also have a blast vibe-coding. I've got a suite of apps for which I've never looked at a line of code. I suspect doing so would horrify me. "Programming" this way is also fun. Often extremely so. But in its own unique way.

联系我们 contact @ memedata.com