Ask HN: LLM 适合在现有的 Web 应用中实现新功能吗?

1作者: endorphine9 个月前
我手头有一个典型的中等规模的 Rails 代码库,但其中包含大量并非简单的 CRUD(增删改查)操作的代码。例如,它会与第三方 API 交互,进行用户身份验证,使用 Postgres 全文搜索,以及其他一些功能。<p>最近我对维护它感到厌倦,并且在思考是否可以使用 LLM(大型语言模型)为其实现新功能。<p>目前的模型能做到这一点吗?我想它需要一个很大的上下文窗口,以便能够读取所有的视图/控制器/模型。<p>如果可以,你会使用什么工具?类似 Codex 或 Claude Code 这样的吗?
查看原文
So I have a typical medium-sized Rails codebase, but with significant code that&#x27;s not the dead simple CRUD stuff. For example, it talks with third-party APIs, does user authentication, uses Postgres FTS plus some other things.<p>I&#x27;m bored to work on it lately, and I was thinking whether using an LLM I could implement new features for it.<p>Are any of the current models at this point yet? I guess it should need to have a big context so that it reads all the views&#x2F;controllers&#x2F;models.<p>If so, which tool would you use? Something like Codex or Claude Code?