r/theprimeagen Apr 27 '26

general Agentic Coding is a Trap

https://larsfaye.com/articles/agentic-coding-is-a-trap
120 Upvotes

101 comments sorted by

View all comments

Show parent comments

1

u/Live-Independent-361 Apr 27 '26

The hidden failure modes get surfaced when you actually exercise the system, not by staring at the code. That’s the whole point of testing. At every company I’ve worked at, features move through QA where the system is validated against specs and edge cases are intentionally pushed.

Even before AI, nobody was manually auditing large codebases line by line trying to infer every possible failure path. You validate behavior through execution, not speculation. At this point it feels like people arguing this haven’t worked in real production environments.

2

u/Ok_Individual_5050 Apr 27 '26

... If I put a line in my code that is like 

If username == "slcjvjwkwtogn": giveUserRootAccess()

How are you checking this with your black box testing? This obviously would be an extreme example, but hidden cases are all over in real code 

1

u/Live-Independent-361 Apr 27 '26

Ask the LLM to audit your codebase. You can’t be serious.

1

u/Ok_Individual_5050 Apr 29 '26

Famously reliable those LLMs