r/AskProgramming • u/mjbmikeb2 • Sep 25 '26
Other Is vibe coding only viable if you are creating something similar to something that already exists?
For example I saw a Youtube demo where they vibe constructed a web front end to a movie database, which is just another variation of the generic web interface & database design pattern of which there are literally thousands of examples to copy or be inspired by.
What if you are making something that isn't just a variation of what's been done before? For example I'm sure that my current project (embedded distributed sensor and alarm system) isn't breaking new ground, but I haven't seen anything that is in the public domain that does the same as mine.
23
u/DepthMagician Sep 25 '26 •
What makes vibe coding viable is first and foremost not caring about quality, and I’m not saying this in a derogatory way. What I mean is: if is it’s not something mission critical, if it’s not something you are going to be maintaining, if it’s a throwaway project, if it’s something you’re not going to scale, if it’s something where errors are obvious and not a big deal: you can vibe code it. If you do care about quality and still want to vibe code, it becomes viable if you have really good and extensive tests, and a well documented problem domain.
5
u/JacobStyle Sep 25 '26
You can have the AI generate code and look at it for yourself to make that determination way better than what you'll get from us speculating in the comments.
5
u/marrsd Sep 25 '26
My experience has been that it gets worse the more you deviate from standard software behaviours and patterns. I tried to use it to develop a markdown editor recently, and it did a really bad job. We prototyped a solution that looked promising, then spent time designing an architecture that it really didn't get. In the end, I started again from scratch and implemented a much simpler, smaller solution myself.
I don't know how much of that is me not being able to steer the agent and how much of that is the agent, but I've had excellent results from it modifying a Django admin panel to include custom behaviour. Django is a very mature framework with quite a rigid architecture, and lots of documentation and examples around it. I'm sure that's a big part of why it did so much better.
AI is changing all the time, and even quite recent advice is now out of date, so I'm reluctant to give any. I'm still working it out myself.
14
u/Most_Double_3559 Sep 25 '26
Even the most NASA grade, cutting edge programs will be 95% "normal stuff": logging. Metrics. Basic data transforms. Data cleaning. UI. Etc.
Of the remaining 5% that is novel: it's not that hard just be a bit more descriptive than normal. It'll figure it out.
2
u/Klandrun Sep 25 '26
I would say LLMs are not very good at setting up or implementing completely novel ideas.
But if you are able to describe what you want to implement (and how) it will be able to follow directions.
Oftentimes novel ideas in software might come from a coming up with a new usecase that might be niche or solves a particular problem, it isn't necessarily novel in the sense of creating a new language or making a groundbreaking hardware patent.
But from "vibe coding" (IE just giving your LLM a random prompt and hope for the best?), I wouldn't expect any novel ideas there.
2
u/BoBoBearDev Sep 25 '26
Let me be simple and clear here, most scientific research papers are copy of other papers and enhance it. You can see all the citations on those papers.
Meaning, you as research, you have to read those citations, understand it, and improve it.
Similarly, you as dev, you have to use AI to generate the base, read it, understand it, and improve it.
If you don't know how to do that, in either cases, you failed at your job.
1
u/Feroc Sep 25 '26
At the end it's hard to come up with something completely new in the first place. And even if you come up with something new, then it's likely a combination of existing concepts that get combined in a new way.
1
u/Upbeat_Assist2680 Sep 25 '26
What makes you think you have an original idea?
Almost everything is iterates of similar things, and even if you HAD a truly novel idea, it's going to be made up of common components.
1
u/Eric848448 Sep 25 '26
It’s viable when you know roughly what you want.
1
u/ericbythebay Sep 25 '26
Nope, plenty of startups use vibe coding to build new things. Myself included.
1
u/Tacos314 Sep 25 '26
I find it's valid if your writing smaller specs that describe a single feature. How big that spec is really depends on the domain and you can try different sizes.
1
u/Berkyjay Sep 25 '26
Most LLMs can create web front ends as an afterthought. If any programmer needs to be worried it's web developers.
1
u/Traveling-Techie Sep 25 '26
Yes.
1
u/Toothpick_Brody Sep 25 '26
Essentially yes because that’s how training data works. The model’s capacity to generalize is limited. However there are a truly enormous number of written algorithms in the training data, and an LLM can put them together to build something “new” in that sense
If you’re making something really new, then it makes sense to code it by hand. There will be plenty of sub-problems/algorithms the LLM can do, but these won’t be your blockers anyway
1
u/Correct_Emotion8437 Sep 26 '26
Almost everything already exists if you can break it into small pieces.
1
u/Proof-Pineapple69 Sep 26 '26
In many cases, 90% of an apps difficulty is about things that are very generic: setting up dbs, backend endpoints, a front end, etc. Now that AI can do that, you can focus on the part that are really specific to your needs. That part the AI will do fine as long as you're specific.
1
u/elg97477 Sep 26 '26
However, in a situation I had more aligned with point 1, the LLM came up with two solutions which would work, but were terrible. I had determined what a good solution would look like. I was able to eventually review and guide it to the correct solution.
While LLMs can give you solutions that will work according to the first point, those solutions are likely to be poor. Just how poor and in what ways varies by degree and situation. Whether or not that matters, it something only you can determine. I have situations where it does not matter…I just need anything that will work.
1
u/raisputin Sep 29 '26
1
u/Different_Pain5781 Oct 03 '26
Vibe coding is basically fine until you leave the happy path. If the packet headers are custom or the hardware interrupts are specific to the system then the model can start pulling APIs out of thin air. Boot dev gets mentioned for a reason when it comes to learning the actual backend and systems fundamentals.
1
u/schlaubi Sep 25 '26
Vibe coding will work for your project just a well. It's not necessary that something similar has been seen in the training data.
0
u/TheGreatButz Sep 25 '26
Modern frontier AIs are extremely good at transferring knowledge between domains and will have no problem creating something entirely new. I can't say I've vibe coded it but I have used AI assistance for a project that was entirely new. Where I would be skeptical is genuine know-how such as developing new algorithms. I'm not programming in areas where new algorithms are developed and implemented but I'd be surprised if current AIs can develop these out-of-the-box. It would at least require heavy guidance, and complex algorithms seem to be out of league for current AI (think of a brand-new audio codec, for instance).
0
u/ciurana Sep 25 '26
No. The uniqueness is derived by the quality of your prompts. LLMs make predictions based on input, and if your input sets the right conditions, the LLM will produce something novel that hasn't been coded or calculated before by virtue of processing the preconditions.
This is how LLMs are used for finding new drugs or mathematical proofs. The prompt leverages all the known conditions and drives the LLM to output something that factors them in. I've worked in proteomics (the study of proteins and how they are expressed in the body; unlike DNA, they change all the time and are very good indicators of health status and conditions). We used machine learning to figure out how proteins would be expressed -- and it was amazing how accurate they were, as long as the preconditions were detailed and accurate.
Cheers!