11 条回复  ·  1260 次点击
xuanwu 小成 2025-11-28 14:09:07
“Indeed, the ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code. ...[Therefore,] making it easy to read makes it easier to write.” ― Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship
wu67 小成 2025-11-28 14:59:03
我是 agent 模式一点点来, 尽可能用详细的描述去限定它干活, 不然他大概率会越界乱改. 很多时候就是在赌最后写的代码比我码关键字要长, 可以让我省点事... 不过让它生成逻辑倒是想对省事, 因为有很多乱七八糟的逻辑, 让我自己写可能要反复调试几次才得出最优解, 它自己就可以写出一两遍测试就通过的代码.
12
返回顶部