3 ms·
Fundamentally though, an agent cannot produce great code, because great code requires intent, which is the opposite of the statistical mean. You will get a sol
by hypfer 2mo ago
Fundamentally though, an agent cannot produce great code, because great code requires intent, which is the opposite of the statistical mean.
You will get a solution that works with a proper workflow, but you won't get one that scales or would be truly maintainable.
Which is also what you get with random midwit drive-by contributors, but faster. I'll give it that.
- prolly97 2mo agoIf you built a task management system, you'd have very different code bases depending on whether it's for internal use at a mid-size development org or as a SaaS. So I wonder whether, in your experience, the results you've seen, could have improved by providing sufficient context? - or what context was given. I.e. if you have the agent that same context, as one of your colleagues would have/require to solve a problem.
- hypfer 2mo ago"You're holding it wrong" You've missed my point. I didn't dismiss agents. I did dismiss the industry. I don't need to add more context to a statement that operates on a layer above where context injection would influence it. It is a conceptual impossibility. Not a technical roadblock.
- tuyiown 2mo ago> because great code requires intent If can put properly engineered intent in the prompt that is verifiable, it works wonders. Anything that can defaults to the llm doing its way, you're right, it just can't converge to good, not with proper constraints.
- jolaflow 2mo ago[flagged]
- hypfer 2mo agoDo you people ever think of anything else other than pitching your next SaaS startup thing? Holy crap. Does your home have mirrors?
- wongarsu 2mo agoI'm not sure I agree that LLMs solve for the statistical mean But more importantly: isn't what you call "intent" just a series of optimization goals? You want your code to satisfy the constraint of being correct™, while also maximizing various other goals like being maintainable, easy to understand, having few lines of code, as little tight coupling as possible, etc. Goals that often conflict, but when given two implementations you could likely tell which hits the better tradeoff (in your engineering experience) Those are all things that theoretically - with a tight enough specification and enough compute - a constraint solver could solve. No human intent necessary. The issue is more that we can't fully specify all those side goals, and even if we could the LLM would struggle following them. A classic paperclip maximizer problem (where nobody told the paperclip maximizer to keep the planet inhabitable and all the other side conditions we implicitly assume)
- hypfer 2mo ago> I'm not sure I agree that LLMs solve for the statistical mean The good thing is that you don't have to agree with that, as the fundamental technical reality does it for you. LLMs do work like that. They are just statistics and probabilities.
- wongarsu 2mo agoDoesn't the universal approximation theorem apply to typical LLM architectures? LLMs solve for the shape of the input data, as well as they can approximate it in the constraints of their architecture, the optimizer and the amount of compute spent in the training process And where those constraints prevent us from matching the shape there is no guarantee that we match anything like the mean. Though maybe we can agree that that's where the optimizer would tend to steer towards when it can't do any better
- lukebitts 2mo agoThis is a weird framing, but the user is the "intent". If you can produce "great code" by yourself (whatever that is), then you can get your agent to produce it for you. If you are talking about vibe-coding then yeah, it is going to be trash