News for hackers. Stuff that matters.
Re:Show HN: I vibecoded a 35k LoC recipe app by nine_k on Tuesday April 01, 2025 @10:37PM (#43553220)
Impressive!

35 kLOC is quite a bit. I wonder how straightforward and maintainable this app ended up to be. This would require taking a look at the sources. While good Rails code tends to be very terse, frontend may be quite voluminous.

> I believe within a couple of months, when things like log tailing and automated testing and native version control get implemented

This sounds a bit too optimistic, especially around automated testing, but yes, eventually this all will be there.

> an extremely powerful tool for even non-technical people to write production-quality apps

But why would non-technical people would even think in terms of log tailing and version control, any more than they think about the gauge of wiring in their walls, or the kind of modulation their Wi-Fi device use? For really non-technical audience to make a good use of such tools, it won't just take the AI to be a competent coder. The AI should become a competent architect and a competent senior SWE to translate from the product management language to the software development language, without even surfacing it when not explicitly asked. It's going to be quite a bit of a challenge to make it work, and work about as reliably as with a human team.

Re:Show HN: I vibecoded a 35k LoC recipe app by tomblomfield on Tuesday April 01, 2025 @10:39PM (#43553226)
Since I wrote the blog post, I actually added automated tests which Windsurf / Claude Code runs before committing any change. It saved me a lot of headaches when the LLM decided to make random logic changes for no reason.
Re:Show HN: I vibecoded a 35k LoC recipe app by varelaseb on Wednesday April 02, 2025 @01:21AM (#43553865)
Would you mind describing the process for this in a bit more detail?
Re:Show HN: I vibecoded a 35k LoC recipe app by myvoiceismypass on Wednesday April 02, 2025 @02:42AM (#43554207)
The LLM swaps out business logic without you knowing it? As someone who worries about determinism and doesn’t do much vibe coding, I am curious what’s going on here, thanks!
Re:Show HN: I vibecoded a 35k LoC recipe app by thebeardisred on Wednesday April 02, 2025 @04:17AM (#43554627)
"Let's take a different approach. Instead of trying to fix the existing file incrementally, let's rewrite it completely with a simpler approach that uses the --print-config flag to test the configuration:"
Re:Show HN: I vibecoded a 35k LoC recipe app by alluro2 on Wednesday April 02, 2025 @02:58AM (#43554297)
Absolutely, very often. It typically happens because it's trying to do more than you asked for.

Example scenario: you have a codebase that you iterated on with LLM, and it contains let's say 15 features with various implementation details. You continue tomorrow and want to make a small change to handle an edge-case. While making changes to one of the 3 required files, suddenly it will decide to also rewrite / "improve" other parts of the code that have nothing to do with your request, where pieces of previous logic will no longer exist - since it made 18 changes to the file, and there are 3 such files, good luck spotting it without thorough and detailed change review.

Also, if you made manual changes to generated code and than you ask it to add something to the code (within the same "conversation" / context, it will often replace your changes with how it originally wanted code to look like.

Re:Show HN: I vibecoded a 35k LoC recipe app by johnisgood on Wednesday April 02, 2025 @04:12AM (#43554608)
I experienced this, too. It is quite annoying. You have to explicitly tell the LLM to leave everything else as-is.
Re:Show HN: I vibecoded a 35k LoC recipe app by fragmede on Wednesday April 02, 2025 @05:42AM (#43555056)
use conventions.md to have it not do that.
Re:Show HN: I vibecoded a 35k LoC recipe app by __loam on Wednesday April 02, 2025 @05:49AM (#43555086)
What the fuck
Re:Show HN: I vibecoded a 35k LoC recipe app by shostack on Thursday April 03, 2025 @01:56AM (#43565295)
Do things like Cline's memory bank solve this?
Re:Show HN: I vibecoded a 35k LoC recipe app by matsemann on Wednesday April 02, 2025 @01:52AM (#43553990)
Yeah, without trying to be dismissive I'm a bit unsure where the 35kLOC are going?
Re:Show HN: I vibecoded a 35k LoC recipe app by notfed on Wednesday April 02, 2025 @02:44AM (#43554218)
The vibes? It was vibecoded.
Re:Show HN: I vibecoded a 35k LoC recipe app by smrtinsert on Wednesday April 02, 2025 @02:51AM (#43554250)
probably includes npm packages. Actual loc is probably 2-3k.
Re:Show HN: I vibecoded a 35k LoC recipe app by dominicrose on Wednesday April 02, 2025 @05:21AM (#43554953)
with npm packages it's probably 35k - Files -
Re:Show HN: I vibecoded a 35k LoC recipe app by jstummbillig on Wednesday April 02, 2025 @04:06AM (#43554586)
> 35 kLOC is quite a bit. I wonder how straightforward and maintainable this app ended up to be. This would require taking a look at the sources. While good Rails code tends to be very terse, frontend may be quite voluminous.

I think people will have to recalibrate on this. The LOCs do things that you otherwise would not do. Features and details that simply would not happen — because they are too code/time intensive for most projects. It just won't matter anymore.

> But why would non-technical people would even think in terms of log tailing and version control

They won't! They won't have to. The obvious good stuff, that everyone thinks the AI tool should be able do, will just work, because the people building the tools, will focus on making them work.

Re:Show HN: I vibecoded a 35k LoC recipe app by __loam on Wednesday April 02, 2025 @05:47AM (#43555077)
That or we're completely ignoring principles like DRY and producing a head spinning amount of tech debt.

I can't really imagine producing that much code in that short amount of time and holding any amount of it in my head. I'd bet money there's code in there that does the same thing but different, leading to all kinds of little inconsistencies that make this code worthless in any serious context.

Re:Show HN: I vibecoded a 35k LoC recipe app by aaronrobinson on Wednesday April 02, 2025 @09:07AM (#43556248)
I’m an old school coder. I haven’t vibed. I’m guessing the “who is going to maintain this” could only be another tool similar to what built it. I can’t imagine trying to get my head around that much code in a timeframe acceptable to someone demanding product. So are we headed to a place where everything is written and maintained this way or a lucrative future of having to get these things to work properly.
Re:Show HN: I vibecoded a 35k LoC recipe app by kikimora on Wednesday April 02, 2025 @04:38PM (#43561243)
Given amount of duplication and variation there is no way to guarantee any level of security in such codebase. The bright future ahead!
Re:Show HN: I vibecoded a 35k LoC recipe app by ChrisRR on Wednesday April 02, 2025 @05:54AM (#43555121)
The 35k lines of code is what made me think this was either a joke or the state of vibe coding, but no it turns out they're serious

I have entire codebases of embedded software in C without the shortcuts of modern programming languages in way fewer than 35k lines

Re:Show HN: I vibecoded a 35k LoC recipe app by johnisgood on Wednesday April 02, 2025 @06:10AM (#43555206)
I cannot find a link to the source code. Is there any?
Re:Show HN: I vibecoded a 35k LoC recipe app by ChrisRR on Wednesday April 02, 2025 @06:31AM (#43555320)
https://www.recipeninja.ai/assets/index-B7TAGfYd.js

Not 35k lines, but there's one line that's about 48,000 characters long. So either they've intentionally obfuscated it, or chatgpt just churned out one long line

Edit: Running it through a prettifier the code comes about 33k lines

Re:Show HN: I vibecoded a 35k LoC recipe app by johnisgood on Wednesday April 02, 2025 @06:32AM (#43555331)
Oh, this. I thought there was more into it.

Edit: Run it through another prettifier, might turn into 35k lines. :D

Re:Show HN: I vibecoded a 35k LoC recipe app by qwe----3 on Wednesday April 02, 2025 @06:36AM (#43555349)
It’s obviously obstructed, but throw it into an LLM to attempt to clean it up
Re:Show HN: I vibecoded a 35k LoC recipe app by turnsout on Wednesday April 02, 2025 @01:01PM (#43558813)
Yeah 35k of code is a red flag. There's no reason for this to be that large.