Ask HN: 你认为技术债务是什么?为什么你认为大型语言模型会产生技术债务?
1 分•作者: throwmeaway222•9 个月前
这实际上是一个由两部分组成的问题。我之前在某个讨论串里留言,认为LLM/Agent会消除技术债务,而不是制造更多技术债务。
我评论背后的理由是,你可以直接告诉Agent:“找出代码中所有未使用PatientManager接口,而是直接对Patient表进行SQL调用的地方。在PatientManager没有有用功能的地方,创建一个并在实现类中实现。找出代码中所有地方,并消除与直接修改患者相关的技术债务。”
过去,这可能涉及数百个代码位置,而且通常会被开发团队完全忽略,因为这是没人想做的技术债务项目之一。现在,有了基于Agent的LLM,这简直就是向Claude提问。
我想知道是否有人也有使用Agent快速清理技术债务的广泛例子。如果没有,并且你认为LLM会制造技术债务,那么你认为技术债务到底是什么?
查看原文
This is a two part question really. I left a comment in a thread a while back arguing that LLMs/Agents erase tech debt, not create more of it.<p>My reasoning behind the comment was that you can literally tell the agent "find all areas in the code that don't use the PatientManager interface and instead make direct SQL calls to the Patient Table. In places where the PatientManager does not have a useful function, create one and in the implementation class. Find all the places in the code and remove the tech debt you find related to directly modifying patients.<p>And in the past, this would potentially be hundreds of code locations, and often completely ignored by the dev team because its one of those tech debt items no one wants to do. Now, with Agentic LLMs, it's literally a question for Claude.<p>I was wondering if anyone else has examples of widespread using agents to clean up tech-debt quickly. And if not, and you think LLMs CREATE the tech debt, what exactly do you think is Tech Debt?