Hacker News new | ask | show | jobs
by reg_dunlop 17 days ago
Agreed.

Agents are good enough on their own, but they introduce a significant amount of drift.

Simply asking "is this TOOL like SOME_OTHER_TOOL in the codebase?" Is typically enough for the agent to out itself as introducing redundant/refactorable code.

My question is: if an agent knows how to fix a problem in one part of the codebase, and introduces drift in another part of the codebase, is that a problem? If 2+2=4 but so does 3+1=4 and 6-2=4, does this matter? (Math equations are used here to represent similar but varying logic in code)

1 comments

both your question and your examples are absolutes though. "Is that a problem? yes/no" doesn't survive impact with the real world where the answer is - at best - "yes, but" or "no, although". and how much business logic clearly reduces to a very simple math equation? and even if it does, how many math equations are comprised with a non-toy system?
I disagree here. Your reply introduced the binary of "yes/no" as acceptable responses to "is this a problem?"

The math equations were simply a low-effort way to describe similar behaviors to achieve similar results; not intended to be taken as literal.

Allow me to extrapolate the original framing of my comment/question:

Is the reality of an agent producing a similar or duplicate solution, be it in shape or spirit or semantics, actually a problem?

Is the non-deterministic nature of an agent producing objects (I'm an OOP nerd) and behaviors of similar likenesses detrimental?

Extrapolating this question seems to have offered an answer, at least in my own mind.

I'm of the mind that the more unique shapes to do the same thing exist, the more opportunities exist for a program to break.

Thus leaning towards solutions that are more deterministic, and resisting drift.

However, my proclivities are not absolute and open to examination.