News for hackers. Stuff that matters.
Re:Read your code by simonw on Monday August 04, 2025 @10:04AM (#44785930)
New vibe coding definition just dropped! "Vibe-Coding is a dialogue-based coding process between a human and an AI where the human guides and the AI implements."

Reminds me of Steve Yegge's short-lived CHOP - Chat Oriented Programming: https://sourcegraph.com/blog/chat-oriented-programming-in-ac...

I remain a Karpathy originalist: I still define vibe coding as where you don't care about the code being produced at all. The moment you start reviewing the code you're not vibe coding any more, by the definition I like.

Re:Read your code by elieteyssedou on Monday August 04, 2025 @12:05PM (#44787754)
Hi Simon, thanks for your comment. I’m the author, just discovering the thread here on HN (and thanks everyone for the enthusiasm!).

I do think we need a new definition for vibe-coding, because the way the term is used today shouldn’t necessarily include “not even reading the code”.

I’m aware that Karpathy’s original post included that idea, but I think we now have two options: - Let the term vibe-coding evolve to cover both those who read the code and those who don’t. - Or define a new term — something that also reflects production-grade coding where you actually read the code. If that’s not vibe-coding, then what is it? (To me, it still feels different from traditional coding.)

Re:Read your code by simonw on Monday August 04, 2025 @12:18PM (#44787926)
I've been calling it AI-assisted development, but that's clearly not snappy enough.

I have a few problems with evolving "vibe coding" to mean "any use of LLMs to help write code:

1. Increasingly, that's just coding. In a year or so I'll be surprised if there are still a large portion of developers who don't have any LLM involvement in their work - that would be like developers today who refuse to use Google or find useful snippets on Stack Overflow.

2. "Vibe coding" already carries somewhat negative connotations. I don't want those negative vibes to be associated with perfectly responsible uses of LLMs to help write code.

3. We really need a term that means "using prompting to write unreviewed code" or "people who don't know how to code who are using LLMs to produce code". We have those terms today - "vibe coding" and "vibe coders"! It's useful to be able to say "I just vibe-coded this prototype" and mean "I got it working but didn't look at the code" - or "they vibe-coded it" as a warning that a product might not be reviewed and secure.

Re:Read your code by ckcheng on Monday August 04, 2025 @12:38PM (#44788210)
I propose: Software Development/Engineering with “Gen AI Assistance” (yes, “Gaia” [1]. Also spelled “Gaea” in engineering communities).

Just like no one speaks of vibe-aeronautics-engineering when they’re “just” using CAD.

More specifically, GAIA in SDE produces code systematically with human in the loop to systematically ensure correctness. e.g. Like the systematic way tptacek has been describing recently [2].

[1] https://en.m.wikipedia.org/wiki/Gaia

[2] https://news.ycombinator.com/item?id=44163063

Briefly summarized here I guess: https://news.ycombinator.com/item?id=44296550

Re:Read your code by 8n4vidtmkvmk on Monday August 04, 2025 @06:29PM (#44792058)
I don't think Googlers will be very fond of that acronym.
Re:Read your code by ckcheng on Monday August 04, 2025 @08:10PM (#44792822)
Why? I doubt they’d confuse Gen AI Assistance with an ID management system?
Re:Read your code by 8n4vidtmkvmk on Tuesday August 05, 2025 @10:21AM (#44798314)
Still doesn't help to overload the term and ruin search results.
Re:Read your code by visarga on Monday August 04, 2025 @12:51PM (#44788396)
> If that’s not vibe-coding, then what is it?

Blind-coding.

Re:Read your code by a_spy on Monday August 04, 2025 @05:12PM (#44791413)
Hey Elie,

Nice blog by the way, I love the design. I have a similar website: https://www.murhabazi.com/ and I love to grab some components from yours.

I have checked the site is not public, if it doesn't have private data, can you make it public so that we can copy its design?

If that is not possible, can you add you give me view access? My username is EspoirMur

Re:Read your code by kmac_ on Monday August 04, 2025 @10:25AM (#44786257)
Nah, we need defined levels like for autonomous driving. Level 5 is live deployment of a change where a business need was discovered by AI, the change specified and planned by AI, implemented by AI, and reviewed by AI. Vibe coding (without reading) would be even lower, as a human is in the loop.
Re:Read your code by dllthomas on Monday August 04, 2025 @01:46PM (#44789143)
Do you want HypnoDrones? This is how you get HypnoDrones.
Re:Read your code by neutronicus on Monday August 04, 2025 @10:52AM (#44786646)
IDK.

My wife used the $20 claude.ai and Claude Code (the latter at my prompting) to vibe-code an educational game to help our five-year-old with phonics and basic math.

She noticed that she was constantly hitting token limits and that tweaking or adding new functionality was difficult. She realized that everything was in index.html, and she scrolled through it, and it was clear to her that there was a bunch of duplicated functionality.

So she embarked on a quest to refactor the application, move stuff from code to config, standardize where the code looks for assets, etc. She did all this successfully - she's not hitting token limits anymore and adding new features seems to go more smoothly - without ever knowing a lick of JS.

She's a UX consultant so she has lots of coding-adjacent skills, and talks to developers enough that she understands the code / content division well.

What would you call what she's doing (she still calls it vibe coding)?

Re:Read your code by simonw on Monday August 04, 2025 @10:55AM (#44786685)
No, I think the moment she "embarked on a quest to refactor the application" she graduated from vibe-coding to coding.
Re:Read your code by neutronicus on Monday August 04, 2025 @11:07AM (#44786879)
I kind of agree that she isn't just "vibe-coding" anymore.

But I think the fact that she's managing without even knowing (or caring to know) the language the code base is written in means that it isn't really "coding" either.

She's doing the application architecture herself without really needing to know how to program.

Re:Read your code by simonw on Monday August 04, 2025 @11:23AM (#44787116)
I frequently tell people with complicated Excel spreadsheets that they are software developers without them realizing it, so I have a broad personal definition!
Re:Read your code by wonger_ on Monday August 04, 2025 @01:38PM (#44789050)
LLM-assisted coding? Pairing with LLMs?

I've copy-pasted snippets for tools and languages that I do not know. Refactored a few parameters, got things working. I think that counts as programming in a loose sense. Maybe not software development or engineering, but programming.

Re:Read your code by CodeMage on Monday August 04, 2025 @02:02PM (#44789372)
It's coding, it just isn't professional software engineering.

The first non-toy program I ever wrote was in BASIC, on ZX Spectrum 48, and although I don't have it anymore, I remember it was one of the shittiest, most atrocious examples of spaghetti code that I've ever seen in my life.

Everyone starts somewhere.

Re:Read your code by Izkata on Monday August 04, 2025 @03:35PM (#44790468)
How exactly do people think those of us who are self-taught got started?

I was picking apart other peoples' javascript to see how it worked years before I was taught anything about coding in a formal setting.

Re:Read your code by skydhash on Monday August 04, 2025 @08:54PM (#44793148)
Pretty much this. My first programming experience was going through books/forums and copy-pasting stuff. It wasn't until years later that I cared to know how to create an actual project with an IDE.
Re:Read your code by theshrike79 on Wednesday August 06, 2025 @12:40PM (#44814364)
I'd go with this old one: https://en.wikipedia.org/wiki/Extreme_programming

Also I feel old now, I think we _just_ did XP at a company, but that was almost a quarter century ago :D

Re:Read your code by savanaly on Monday August 04, 2025 @11:36AM (#44787299)
I mean this out of genuine curiosity, not as criticism: did she consider telling claude code to look for any duplicate functionality and remove it? Or even edit CLAUDE.md to tell it to check for duplicates after major refactors and remove them? I use CC every day at the moment and I would expect these sorts of instructions to work extremely well, especially in what appears to be relatively small codebase.
Re:Read your code by neutronicus on Monday August 04, 2025 @02:35PM (#44789763)
Once it became plain that there was duplicate functionality and that it was a problem, yeah, the first thing she did was tell Claude at a high level to factor out duplicate functionality.

This didn't really work - it would often implement a factored-out piece of logic but just leave the pre-existing code alone. So she had to be pretty specific about problem areas in order to actually push the refactoring plan forward.

Re:Read your code by lubujackson on Tuesday August 05, 2025 @11:56AM (#44799692)
"Vibe architecting" or maybe less pretentiously, "vibe orchestrating". I think that nicely encompasses thw workflow and required skillset. A very knowledgeable eng can orchestrate all the way but clearly nocode people are able to do this as well.

I think orchestration may be a step that can't really be magicked away by advancements, beyond toy implementations. Because at the end of the day it is just adding specific details to the idea. Sure, you can YOLO an idea and the LLMs can get better at magically cleaning things up, but the deeper you go the larger the drift will be from the concept and the reality without continued guidance.

If LLMs could construct buildings you might describe what you want room by room and the underlying structure will need to be heavily revamped at each addition. Unless you start with "I am making a 20 floor building" you are going to waste a lot of time having the LLM re-architect.

I think the real new skill people are going to get scary good at is rapid architecting without any strong awareness of how things work underneath the hood. This is the new "web programming isn't real programming" moment where future developers might not ever look at (or bother learning about!) variables or functions.

Re:Read your code by lysecret on Monday August 04, 2025 @10:15AM (#44786085)
Fully agree, from the original post: "and forget that the code even exists."
Re:Read your code by siva7 on Monday August 04, 2025 @10:11AM (#44786028)
We professionals need to stop with paroles like "vibe coding is bad". If you don't have dev skills and experience, your code will be shit - no matter if vibe coded or manually done. If you can't guide another dev - here the a.i. - the result will be as good as the clueless leading the clueless.
Re:Read your code by josephg on Monday August 04, 2025 @10:17AM (#44786121)
Vibe coding can make it a lot harder to learn programming though, depending on how you use an AI. If you're a beginner and you can't read code very well, you're going to struggle a lot more when you have thousands of lines of the stuff written badly by an AI.
Re:Read your code by visarga on Monday August 04, 2025 @12:54PM (#44788440)
Which means real experience still takes years. But you need to consider the speed at which coding agents improve. Maybe next year they will be more reliable to use without domain experience. Today? You can get a small app or POC without knowing how to code.
Re:Read your code by the_af on Monday August 04, 2025 @10:30AM (#44786330)
Karpathy's definition was no guidance, just blindly copy and pasting error messages and code back and forth, hammering into place until it kinda worked.
Re:Read your code by tempodox on Monday August 04, 2025 @10:17AM (#44786124)
If you don't guide the LLM, vibe coding is Russian roulette, no matter how good you think you are. If you look at the code, it's not vibe coding any more by its original definition. So vibe coding is only “good” for code that gets thrown away real quick.
Re:Read your code by js8 on Monday August 04, 2025 @04:04PM (#44790761)
I used to work with a guy who double-checked the machine code generated by assembler (he was an old mainframe programmer, and allegedly used to work on a linker for ES EVM).

So, clearly, almost nobody does that anymore. So according to Karpathy's definition, we have all been vibe coding for quite time now. (An aside - if AIs were any good, they would just skip human languages entirely and go straight to binary.)

So I think the "vibe" in vibe coding refers to inputting a fuzzy/uncertain/unclear/incomplete specification to a computer, where the computer will fill in details using an algorithm which in itself is incomprehensible for humans (so they can only "feel the vibes").

Personally, I don't find the fuzziness of the specification to be the problem; on some level it might be desirable, having a programming tool like that. But the unpredictability of the output is IMHO a real issue.

Re:Read your code by skydhash on Monday August 04, 2025 @09:14PM (#44793267)
> So, clearly, almost nobody does that anymore. So according to Karpathy's definition, we have all been vibe coding for quite time now.

Because the compiler is deterministic and the cost of getting something better (based on the processor capability) is higher than just going with the compiled version, which has like 99.9% chance of being correct (compiler bugs are rare). It's not vibecoding. It's knowing your axioms is correct, when viewing the programming language as a proof system (which it is). You go from some low level semantics, upon which you build higher level semantics which forms your business rules.

So giving the LLM a fuzzy specs is hoping that the stars will align and your ancestors spirits awaken to hear your prayers to get a sensible output.

Re:Read your code by js8 on Tuesday August 05, 2025 @01:15AM (#44794541)
I am not sure what you're saying that I am not. Read the vibe coding definition given by grandparent (according to Karpathy) - you can see that compilers already satisfy that definition - we don't read the final code being produced, we just trust it blindly. That's my problem with that definition, and I claim and agree it is more about the predictability/understandability of the output based on the input.

And I agree with the logic part too. I think we could have humans input fuzzy specification in some formal logic that allows for different interpretations, like fuzzy logic or various modal logics or a combination of them. But then you have a defined and understandable set of rules of how to resolve what would be the contradictions in classical logic.

The problem with LLMs is they are using a completely unknown logic system, which can shift wildly from version to version, and is not even guaranteed to be consistent. They're the opposite of where the software engineering, as an engineering discipline, should be going - to formalize the production process more, so it can be more rigorously studied and easier to reproduce.

I think what SW engineering needs is more metaprogramming. (What we typically call metaprogramming - macros - is just a tip of the iceberg.) What I mean is making more programs that study, modify and transform the resulting programs in a certain way. Most of our commonly used tools are woefully incapable of metaprogramming. But LLMs are decent at it, that's why they're so interesting.

For example, we don't publish version modifications to language runtimes as programs. We could have, for example, produce a program that would automatically transform your code to a new version of the programming language. But we don't do that. It is mostly because we have really just started to formalize mathematics, and it will take some time until we completely logically formalize all the legacy computer systems we have. Then we will be able to prove, for instance, that a certain program can transform a program from one programming runtime to another at a certain maximal incurred extra execution cost.

Re:Read your code by skydhash on Tuesday August 05, 2025 @05:38AM (#44796033)
> LLMs is they are using a completely unknown logic system, which can shift wildly from version to version, and is not even guaranteed to be consistent.

It's not unknown. And it's not a logic system. Roughly, it takes your prompt, add it to the system prompts, runs it trough a generative program that pattern-match it to an output. It's like saying your MP3 player (+ your mp3 files) is a logic system. It's just data and it's translator. And having a lot of storage to have all the sounds in the world just means you have all the sounds in the world, not that it's automatically a compositor.

And consistency is the basic condition for formalism. You don't change your axioms, nor your rules, so that everyone can understand whatever you said was what you intended to say.

> What I mean is making more programs that study, modify and transform the resulting programs in a certain way.

That certain way is usually fully defined and spec-ed out (again, formalism). It's not about programming roulette, even if the choices are mostly common patterns. Even casinos don't want their software to be unpredictable.

> Most of our commonly used tools are woefully incapable of metaprogramming.

Because no one wants it. Lisp has been there for ages and only macros have seen extensive use, and mostly as a way to cut down on typing. Almost no one has the needs to alter the basic foundation of the language to implement a new system (CLOS is kinda the exception there). It's a lot of work to be consistent, and if the existing system is good enough, you just go with it.

> we don't publish version modifications to language runtimes as programs

Because patching binary is harzadous, and loading programs at runtime (plugins) is nerfed on purpose. Not because we can't. It's a very big can of worms (we've just seen the crowdstrike incident when you're not careful about it).

Re:Read your code by slavik81 on Tuesday August 05, 2025 @05:27AM (#44795972)
Compiler Explorer (godbolt.org) is quite popular. It's not uncommon for anyone working on performance sensitive code to give the compiler output a quick sanity check.