一位软件工程师在Hacker News上发表观点认为,尽管AI是有用的编程工具,但其在代码可维护性方面存在根本局限。1该工程师指出,AI无法理解良好的代码架构需要数月甚至数年才能体现其效果这一特点,因此难以学习代码维护的智慧。1他解释称,强化学习需要可立即测量的奖励信号,而代码维护性无法被定义为即时可测量的指标,这使得AI在这方面的训练存在先天不足。1
工程师指出AI在实际编码实践中表现不佳。1在代码简化方面,AI常将大型函数拆分成看似可复用但实际并非如此的小函数,这种做法往往无法真正改进代码质量。1他认为,过度依赖AI进行编程的开发者无法学习承担错误责任,因此无法达到专业水平。1基于这些观察,该工程师预测未来企业将把"无AI"政策作为竞争优势,以此来吸引对代码质量有更高要求的市场。1
A software engineer has challenged the prevailing enthusiasm around artificial intelligence in software development, arguing that while AI serves as a useful tool, it fundamentally lacks the wisdom necessary to produce maintainable code.1 According to the engineer, AI cannot comprehend how the benefits of good code architecture unfold over months or even years, nor can it effectively simplify code or extract functions in meaningful ways.1 The author contends that reinforcement learning, the training method underlying such systems, requires reward signals that can be measured immediately, yet code maintainability cannot be defined as an instant, measurable metric.1
The engineer expresses concern that developers who become overly dependent on AI for programming will struggle to reach professional competency.1 This dependency prevents programmers from learning and taking responsibility for their errors, thereby undermining their professional development.1 Looking ahead, the author predicts a shift in competitive strategy, forecasting that companies will increasingly adopt "NO-AI" policies as a means to differentiate themselves in the market.1
评论
还没有评论,欢迎留下第一条。