人工智能编程是赌博。
AI coding is gambling

原始链接: https://notes.visaint.space/ai-coding-is-gambling/

## AI 编程与赌博类比 这篇文章反思了与AI一起编程的出人意料的缺乏满足感,尽管它似乎有很多好处。作者认为,依赖AI代码生成感觉不像真正的编程——一个深思熟虑的问题解决和详细实施过程——而更像**赌博**。 AI允许进行微不足道的代码更改,减轻了评估工作量和研究的认知负担。虽然它*看起来*能产生结果,但这些结果往往只是表面上正确,需要大量的清理工作。这种不断“拉动老虎机拉杆”以获得期望结果的行为令人上瘾,反映了赌博的机制,并促成了工作游戏化的趋势。 作者认为最有害的方面是失去了编程中“滋养灵魂”的部分:理解、适应和巧妙地整合现有代码的过程。相反,工作已经集中在修复AI的不足之处。尽管作者承认自己有责任更深入地参与代码,但他表达了对这种转变的基本不满,即使作为一名*应该*从开发速度加快中受益的设计师。

## AI 编程:赌博还是工具? 一则 Hacker News 的讨论集中在利用 AI 编程是否感觉像赌博。许多评论者认为它具有成瘾性,源于“快速奖励”循环和不确定的结果——即使是相同的提示也可能产生截然不同的结果。这种控制的错觉,加上模型本身固有的不可预测性,可能令人着迷,但并不能保证成功。 几个要点浮出水面:清晰规范和测试的重要性(如 TDD),认识到 AI 是一种概率性工具而非完美解决方案,以及需要仔细监督。有人将其比作熟练的扑克(策略很重要)与老虎机(纯粹的运气)。 人们对过度依赖、潜在的脆弱代码以及成瘾性表示担忧,尤其是在模型越来越强大的情况下。“感觉编程”——在没有彻底验证的情况下大量依赖 AI——时,赌博的比喻最为强烈。最终,讨论强调 AI 是一种强大的工具,但需要负责任地使用、批判性思维和健康的怀疑态度。
相关文章

原文
AI Coding is Gambling | VS Notes

GambleAI

I’ve been coding a lot with AI since November, when we all noticed it got really good. And it is quite good for instantly generating something that looks half decent. Impressive even, until you look closer. The actual details, the individual parts that make a system are still a challenge.

But I'm not here to review a coding agent or nitpick it's output. Nor will I expound on how I left Claude code running for 8 days and have a 8+ year portfolio of projects build up, all of which sound totally impressive, complete and good. I'm here to talk about feelings, a life well lived and a nurtured soul.

The Gambling Proposition

Getting yourself in a state where any change to your entire codebase is trivial to make is intoxicating. Previously we've been burdened by our own cognition and laziness. We'd see a to do ticket and have to weight how much work it's gonna take. Weather this will need lots of looking up, research, reading code we forgot about and trying to understand or reconnect to our thinking, divided by months or years.

But now either the AI can handle it or it can pretend to handle it. Frankly it's pretending both times, but often it's enough to get the result we need. Giving us a vaguely plausible but often surprisingly wrong.

But this doesn't really resemble coding. An act that requires a lot of thinking and writing long detailed code. Both parts are technically here, but the first isn't essential (you can easily offload it to the AI) and the second can be minimal.

But it does perfectly map onto the tech industries favorite mechanic, Gambling! It’s just gambling, just pulling a slot machine with a custom message. We've been pulling to refresh for years and having more and more of the economy resemble gambling by the day. Now we turned the infinity machine, the truly "general intelligence" into a gambling machine. Great job!

But this explains why it’s so preposterously addicting to so many people. I won’t decry the benefits or be scared for my job. You really gotta know what you’re doing to get what you want, have it work right and not be filled with holes. Nor will I be explaining how much more work AI gives us. I'll just explore a simpler problem. It sucks.

The Simplest Problem

I divide my tasks into good for the soul and bad for it. Coding generally goes into good for the soul, even when I do it poorly. Gathering inspiration for what I should to is in the same category. I love finding what other people have made, how I can integrate, refine or iterate to suit my needs. Having the infinite plagiarism machine makes it that much easier.

But it robs me of the part that’s best for the soul. Figuring out how this works for me, finding the clever fix or conversion and getting it working. My job went from connecting these two things being the hard and reward part, to just mopping up how poorly they’ve been connected.

It’s deeply unsatisfying and while I have plenty of people to blame, the fix rests on me. To avoid my own laziness and actually interact with my code more. Use the methods I’ve been honing for years, for finding inspiration and cleverness on the internet. Don’t just default and be confined to the infinite machine.

The Special Case

I am not your average developer. I’ve never worked on large teams and I’ve barely started a project from scratch. The internet is filled with code and ideas, most of it freely available for you to fork and change.

My job has included working in small teams and even being the sole developer, so I’ve gotten quite clever at reusing code, minimizing it and optimizing it. But I’m not just a developer, I’m mostly a designer. So shouldn’t I be happy AI has made me a better developer?

I question if it has. It certainly has made me more confident in trying new frameworks and getting out of my comfort zone. I’ve certainly been spending more time coding. But is it because it’s making me more efficient and smarter or is it because I’m just gambling on what I want to see? Am I just pulling the lever until I reach jackpot?

联系我们 contact @ memedata.com