Live data from Hacker News

Vibe coding and agentic engineering are getting closer than I'd like

simonwillison.net

901–910 of 958 posts

Re: Vibe coding and agentic engineering are getting closer than I'd like

#901
post #431

Earlier quoted context omitted.

I'll go in the other direction and say that if you're spending a lot of your time learning to prompt better then you're wasting it because LLMs are only going to get better at understanding your intent regardless of "prompt engineering". The JSON API example to wire up a database can be one-shot pretty easily by the latest models without much context and without setting up any harness. The more time you spend perfect…

The hardest thing about software engineering has always been that your intent often has to be decided on the fly once you get into complicated edge cases, weird-or-legacy-business requirements, or things that the spec literally has no answers for. Letting the tool figure out your assumed intent on those things is a double-edged sword. Better than you never even thinking of them. But potentially either subtle broken c…

[dead]

Re: Vibe coding and agentic engineering are getting closer than I'd like

#902
post #560

Earlier quoted context omitted.

This is actually my biggest gripe with vibecoding. The single best feature of any programming language is that it is precise. And that is what we throw out?! I favor of natural language , of all things?! We're insane!

Historically we almost entirely moved from ASM to C, a language with lots of undefined behavior, because precision is not the most valued feature of languages.

UB is about edge cases that a compiler should not be enforced to check against and an occurrence is always a bug. You don't necessarily need a precise description of the actual faulty behavior.

Re: Vibe coding and agentic engineering are getting closer than I'd like

#903

Earlier quoted context omitted.

It doesn’t contain any information at all about the structure of the JSON output. Is this a greenfield endpoint and anything will work is does it need to conform to an existing API? What about response codes for different failure modes? What about logging? Your comment exemplifies what a lot of people complain about vibe coding: it works great for greenfielding CRUD apps, but it’s a bitch to use in a real code base.

If it's not a greenfield project, the Agent will go and look at the other endpoints and mimic the style as much as possible. Just like a human would. "But we have documentati..." then give the Agent access to the same docs as humans and it'll use them.

On a real codebase there’s going to be v5 that is the newest version, v4 that we planned to migrate off of but we had to keep around for iOS clients, and v3 that no one except for a dozen huge enterprise customers use. But we need to support all 3 styles. This stuff is sort of documented, but not completely, and there’s a push by some people in the org to use v5 style for every new feature, but there’s one director pushing back on that. So you need to go talk to a few people and get enough condensed to CYA before deciding what to do.

Some version of that happens in every big company or every long running app. Claude isn’t AGI and that prompt isn’t nearly specific enough for anything outside of greenfield.

Re: Vibe coding and agentic engineering are getting closer than I'd like

#904

Earlier quoted context omitted.

> it happened when we achieved a level of such constant stimulation (...) that we’re never bored and never engage the default mode network. I don't know... I don't disagree, but I think this has been repeated so much that I believe everyone, at least everyone that is actively participating in HN discussions is aware of this. So if we are aware of this and we consciously choose to keep engaging in dopaminergic activit…

You are pitting your randomly acquired will power and your in large part unintentional stumbling through life against all of human kind's psychology knowledge, against billions of dollars spent on advertising and advertising research. That is at this point tens maybe hundreds of millions of years of acquired human knowledge how to manipulate you versus your very randomly acquired 'will power'. Have you seen the quote…

[deleted]

Re: Vibe coding and agentic engineering are getting closer than I'd like

#905
post #373

> I know full well that if you ask Claude Code to build a JSON API endpoint that runs a SQL query and outputs the results as JSON, it’s just going to do it right. It’s not going to mess that up. You have it add automated tests, you have it add documentation, you know it’s going to be good. I feel like this is just not true. An JSON API endpoint also needs several decisions made. - How should the endpoint be named - W…

This is just bizarre to me. Do people not use Plan mode? I start by telling the agent what I'm trying to accomplish, and then I throw in some questions like this, concerns I have, edge cases I've thought about, whatever. It goes out and does all the research, both in my code base and beyond, asks me questions where it needs clarification, and then writes me a plan. I review the plan, we go back and forth a bit with a…

You getting swindled into over-engineering.

Re: Vibe coding and agentic engineering are getting closer than I'd like

#906

I agree, I'm actually generating just over of 20,000 lines of code each day at my company. Part of that was the mandate and leaderboards around token usage, but also they started using pull requests as an explicit metric. What I do is usually pull around 5 or so tickets at once, spin up 5 different agents on their own branch, have them work until completion, and then spin up two more agents to handle the merge reques…

I nearly fell for it until the tiktok part, thanks for amusing shitpost

[deleted]

Re: Vibe coding and agentic engineering are getting closer than I'd like

#907

Earlier quoted context omitted.

Its trash vibecoded markdown files around pi. This exemplifies well what op’is saying. We are at the ICO stage of llms. Hopefully there wont be an nft one

As much as I love to hate on AI: even the bad apples still produce something that one can reasonably work with. Cryptocurrencies? Barely any other use than money laundering, buying drugs and betting on the outcome of battles in war. And NFTs? No use at all other than money laundering and setting money ablaze.

crypto is a few 100 of billions less big as an industry than GenAI is. I guarantee you that AI is a far better money laundering scheme. mb the two better money laundering schemes would be construction business and the global warming business. doesnt mean that some of the stuff produced is good.

Re: Vibe coding and agentic engineering are getting closer than I'd like

#908

Earlier quoted context omitted.

The exception is the rule. The reason why programming is hard is because most languages force you to use a hammer when you need a screw driver. LLMs are very good at misusing hammers and most people find them useful for that reason. If you use a sane dsl instead the natural language description of a problem is always more complex and much longer than the equivalent description in a dsl. It's also usually wrong to boo…

Using esoteric programming languages doesn’t suddenly make it true for the majority of development, which is web apps, CRUD stuff, some data science, etc.

SQL and algebra are not esoteric languages.

Re: Vibe coding and agentic engineering are getting closer than I'd like

#909

Earlier quoted context omitted.

I think there's a level above that where the words to describe such structure are familiar and readily available and hey guess what? The model understands those too. Just about every pattern has a name. Or a shape. Or an analog or metaphor in other languages or codebases. All work as descriptors.

This presumes that most of this stays encoded as words in our brains: the effort to translate some of these into words might be similar to translating it into code (still words, just very precise). It's like talking legalese vs plain English; or formal logic vs English. Some people have the formal stuff come more naturally, and then spitting code out is not a burden.

No, it really doesn't presume anything about brains or information encoding. Just points out that there is a level of mastery in which all the techniques and all the forms have names or adequate descriptions. Teachers often attempt to achieve this, to facilitate education.

Re: Vibe coding and agentic engineering are getting closer than I'd like

#910
post #86

It is pure arrogance to expect that machines will never be able to code as good as a skilled human. And AI generated code should be different than human code. AI has infinite memory for details. AI doesn’t need organizational patterns like classes. Potentially AI can write code that is more performant than any human. Will it look like garbage? Sure. Will the code be more suited to the task? Yes.

What will happen when AI companies increase the price of tokens? The code produced will only be understandable by AI. You could use locally hosted LLMs, but it won't be as performant as AI run by big guys. And there is nothing stopping greedy companies implementing some ridiculous pattern that only their model can reasonably work with. So what you'll do in situation when you can't understand "your" codebase and you h…

That is a pricing problem. And it is an absolute risk. That doesn’t change AI’s potential to be a better coder than 98-100% of everyone.
Post reply on HN