r/ClaudeCode • u/apyhubnico Co-founder at Apyhub • 21d ago
Rant I'm starting to think that maybe we shouldn't try to build everything ourselves.
Last month I was vibe coding an internal tool and tbh it's ridiculous how fast things are moving
everytime I thought, "oh I think this feature should exist", I prompted Claude and BOOM, the feature came to reality
I got a little carried away honestly... the problem only started showing up a couple of weeks later when I actually looked at what I had built
exchange rates were coming from some API Claude had picked
Disposable email detection was using a static list of domains, which isn't particularly useful when new burner domains keep popping up
PDF library had barely any active maintenance, and I was using AI calls for some pretty basic stuff that could probably be handled by a regular API.
At the time of building, I didn't care. Everything worked, and I was getting features built ridiculously fast, but now there is another side to it. I have to maintain all this stuff, check whether services are still working, update dependencies, and fix things when they break. I am the person who's going to get bothered when an invoice PDF suddenly stops generating on a Sunday.
That's something I don't think about enough when vibe coding. Getting something to work is one thing; having to own it 6 months or 2 years later is a completely different thing.
I'm starting to think that maybe we shouldn't try to build everything ourselves.
Build the stuff that actually makes your product different. For the rest, there is probably already a service that does it better than you ever will.
Of course, I might be biased here because I work in the API space as co-founder at Apyhub, so I would generally like to hear the other side.
What you have built yourself to the point that you would rather never replace with an API, and that's something you spent building that you now wish you would have just used an existing service for.
Note: I have used a dictation app for writing this post.
•
u/AutoModerator 21d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
72
u/Front_Eagle739 21d ago •
Yes well thats why you still need code taste to make something maintainable and secure.
36
u/denadena2929 21d ago
“Person discovers why software engineering exists”
31
u/xenarathon 21d ago •
one of my standing rules for my agents is basically “never reinvent the wheel” before building anything it is supposed to run a research session to see if there’s already open source code or projects out there that do the same thing to pull into my project while respecting the licensing of the existing code.
26
u/heavy-minium 18d ago edited 18d ago •
My CTO is following a similar path and isn't investing enough time in making the company's software engineering work more smoothly, spending too much time maintaining vibe-coded stuff. I think he got addicted because other board members were impressed by how he came up with new stuff on the weekend, and they praised him a lot. His past software engineering expertise is rather moderate, and he probably never experienced this level of success before he became an executive, so the dopamine is kicking in hard. And as CTO, you can skip all the overhead of planning and delegating, so it feels super efficient and pragmatic.
Now, with a delay, we can start to see it's not sustainable: as the company keeps growing, the vibe-coded side projects pile up with technical debt, and either nobody can efficiently help him deal with them because he never bothered handing them over, or hands them over and the backlog fills up with issues that become quickly apparent once the professionals are looking at it. Security profile of the software stack ain't looking good either, but well - I already nudged him on that matter, and he's simply queueing more TODOs in his never-ending personal backlog instead of rethinking his approach.
In a previous job, I had a way of talking to board members and steering them a bit when organisational issues arose. But here, there's no way to do this realistically because this is a new frontier and novel human behaviour. You can't pull the "past experience" or "look how it turned out elsewhere" card yet, there is no precedent to learn from and showcase to people, and nobody has shaped clear expectations around vibe-coding practices in such a scenario.
12
u/Primary_Article3777 21d ago
The vibe code isn't the end. Its the start. That doesn't take away from the magic of the vibe exploration.
It's a big leap from "this work" to "this works in production".
And yah it's a good strategy to reuse as many well tested components as possible instead of vibing from scratch.
7
u/bensyverson 21d ago
The lens should really be "what do I want to maintain," not "what do I want to build?"
6
u/Affectionate_Fact854 21d ago •
If a tool doesn't exist , Build it .
If it does exist and it's better then you would be able to make with your own skills , use the already made tool
If it is a improvement ontop of tools you use that can help you streamline tasks, build it but first understand what you built in detail before adopting it
5
u/bostonaholic 21d ago •
Half of your list is the agent adding dependencies without anyone deciding to. I'd make new deps and new external services a gate: an allowlist checked in CI (or a dependency-cruiser rule) that fails when the agent pulls in a package or API that isn't on it. Then "should we build or buy this" is a decision you make once, when the check goes red, instead of something you find out about weeks later.
11
u/TedsGloriousPants 17d ago
I feel like the takeaway here should have been that what AI generates is plausible looking rather than any objective measure of "good", because that's what an AI does. If you don't have the domain knowledge to validate and guide what it's doing, you going to create unmaintainable and error-prone garbage.
I would never in 100 years trust vibe coding to generate invoices for people.
4
u/sheriffderek 🔆Super Ultra Max 21d ago
This was always the question - before AI too. That’s what CTOs are for, right?
5
u/bryanhunter 17d ago •
> maybe we shouldn’t try to build everything ourselves
Well the problem you describe seems to be more caused by us not trying to build things ourselves.
This comic hits at the issue:
LLMs are great at taking a large body of text/code and extracting a correct summary. Unfortunately the industry fooled itself into believing that the inverse is true too: that LLMs can take a summary and produce a correct large body of text/code. Seductive but that is where the mess we’re in happens.
Vibe coding is fine for throwaway prototypes, but for anything you will be responsible for… it is unwise.
2
u/julkopki 18d ago
Idk, I always make tech stack decisions, design decisions, data flow, concurrency testing etc. I'd actually be happy to use someone else's library but honestly I have zero trust in all those vibecoded projects (even though I basically vibecode my stuff as well - with exception of the elements that I listed). I'm also a bit surprised that Opus would come up with a lazy design like the one you describe on its own. Surely it at least asked about it.
2
u/Wilendar 17d ago
You are thinking it wrong. If your claude did this so it have all source files and knowledge it needs. Just setup maintance agents to do scheduled work for you
2
u/nate-078 18d ago
Of course you shouldn't. As a general rule of thumb, you should build what differentiates you, not something that's commoditized. When you have enough talent and free cycles, go hog wild on building your way out of wild license fees, but that still has operational and maintenance burdens, so hopefully your calculus is correct.
They absolutely make you feel like you're flying, and you are, even if you have to go and correct a lot. Net out, you should still be winning on cost and time.
That said, it takes a lot of competence to know when something is actually correct and ready to ship, rather than taking the LLM's word for it, emboldened by the test theater it's created for you. Makes you feel good! Evals, anyone? (Ok, mostly)
There's a Go talk that mentions a tool called the un-fuck <whatever> that made it to customers, name unchanged. I suspect there will be whole firms devoted to being human un-fuck Claude, et al, tools in the near future.
9
u/LucieGoosey__ 17d ago •
this is basically the realization someone has when they try to lone wolf it and realize they need other people. a very common trope.
glad to hear the wisdom is dawning on you.
4
u/No_Professional7654 21d ago
yeah, let others build our wifes!
1
u/AkayoKym 21d ago
AI tends to be "monkey see monkey do" sometimes. As soon as it "thinks" of a solution it starts to implement it and rarely considers it might be wrong or suboptimal.. My solution was simple: block the install command entirely. In my setup pnpm install is explicitly disallowed. Claude literally cannot install a package on its own. If it thinks it needs one, it has to ask me. And then I push back. Can the packages we already have do this? Is this really necessary or is it a one-liner you can write without a dependency? If it turns out we genuinely need it, I ask Claude to check whether the package is well-maintained and how big it is. It has to be small and actively maintained or I don't allow it.
The people saying "you need code taste" aren't wrong but that's not helpful if you don't have it yet. Blocking the install command and forcing a conversation before every new dependency gives you the same effect without needing years of experience to know what smells off.
1
u/eduo 19d ago
Strictly speaking you weren't building it yourself. You were asking it to be built.
I don't disagree that the first impulse shouldn't be to try and build it, but I wanted to make it clear it's only an issue precisely because we don't built it ourselves any more. It becomes trivial to ask someone/something else to reinvent the wheel but if we need to do it we'll make sure it's not invented already.
It's also only when the bar is so low it's not even thought about twice. If you don't code it but still need to take weeks working with Claude, that also helps not trying to reinvent that wheel again.
This is not an anti-ai rant but rather an anti laziness and anti cluelessness rant. I see many a new project vibe developed where the author presents it in subreddit and that's when they discover there's already a dozen established versions better in all respects. People are not even taking five minutes before vibe developing another version of the same thing all over.
When you're a dev to learn to recognize the type of non-developer who has ZERO respect for coding, and will be very cavalier about asking absurdly complex things and be unpleasantly surprised when they're told their idea is crap. Now the hard part is not becoming that type of idiot only because Claude won't complain when asked to develop something that would be best served by adopting existing solutions and working with Claude to adapt them instead.
2
u/dakuzen 21d ago
r/BestGitHubRepos
r/coolgithubprojects
Edit: We’re living through a moment where we can redefine how software shapes our lives by all contributing to public projects.
2
u/grahamsw 21d ago
Documentation. Get your agents to give you architecture diagrams, lots of them. As the app grows get more and more complete, drill down docs. (I like some sort of C4 diagrams, ymmv). My attention span is like a gnat these days, so I need all the help I can get keeping up with the big picture and the details. AI is brilliant at helping with that
2
u/DRW_ 18d ago
AI unquestionably has massively changed software engineering and reduced the cost of writing code.
But many of the reasons you might want to use something someone else builds and maintains still remain.
Some things, on going maintenance and complexity is low so the cost of vibing your own is also low. So it will impact those products more, but many, many products - especially those depended on by businesses still have a lot of value.
2
u/AIOSAI 🔆 Max 20 17d ago
Build the thing, get it working then pull it apart piece by piece optimize change out the over engineered parts. Keep it modular so it easy to work on sections without taking the whole system down. Eventually ull have decent build.
2
u/thoughts_n_calcs 17d ago
The success stories of good Software Engineering I had the honor to be part of were stories of smart people talking and listening to each other, not only stories of good coding.
The bad Software projects I was part of were bad not only because of bad program management, but also because of people not talking and listening to each other.
In vibe coding, I observe in my Company that people not really talk and especially listen to each other, and that the discussion with the AI is not as creative and enlightening as the discussion with a real person.
And the software that comes out therefore feels like it never had been tested by anybody.
2
u/MasterHeartless 15d ago
My take is that you should focus on building software that falls into one of two categories:
Websites, plugins, specialized tools, automations, and simple games are good examples, depending on their purpose and how much you rely on them.
The biggest mistake isn't necessarily vibe coding something you won't be able to maintain two years from now. It's building something that requires long-term maintenance without having a realistic reason, plan, or incentive to keep maintaining it.
Not every piece of software needs to last forever, and not every project needs to become a business. Sometimes building something useful today, even if you replace it entirely two years later, is still a worthwhile investment of your time.
2
u/lukwsk 15d ago
Also this still rings true - Ninety-Ninety Rule by Tom Cargill
"The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time."
1
u/haenous-alistera 21d ago
You absolutely should
1
u/agentUi 21d ago
the sunday morning pdf crash is peak vibe coding pain because coding agents love grabbing random unmaintained libraries or hardcoding static lists just to pass your first test. Rule of thumb is never reinvent solved plumbing like email validation, auth, or document rendering... stick to reliable apis for the commodity infrastructure and keep claude code strictly focused on your custom business logic while testing updates in a separate staging environment before pushing live.
1
u/Time_Cat_5212 19d ago
I tend to ask Claude what existing libraries we can use when writing a spec.
I also spend a lot of time on the architecture questions before building. I don't like to tack on features.
If I want to expand something substantially, I mark a release, and start a new spec driven process.
1
u/Responsible_Buy_7999 19d ago
The word for this is YAGNI. Throw it at an agent when you suspect you or it are adding some bells whistles and gongs
1
u/Super-Positive-162 18d ago
This is silly.. build the prototype then refactor or rebuild more architecturally based on that poc
1
u/Internal-Topic-9132 17d ago
Build the stuff that actually makes your product different. For the rest, there is probably already a service that does it better than you ever will.
1
u/cutebuttsowhat 17d ago
Honestly this just sounds like you didn’t actually audit the functionality of what it built very thoroughly at all. Just because the LLM is a black box doesn’t mean your creation is.
You’d face these same challenges with getting code from junior engineers or a contractor.
I think your issue is you get the feeling of you making it, but you didn’t. Additionally you didn’t do the part of it you ARE supposed to do (managing the products development, making sure its features work how you like, etc.). So when the code is generated, you feel as secure in the product as if you had written it, which is obviously silly.
You can’t check out of coding AND feel like the code you didn’t write is all complete, works and is yours. You wouldn’t have avoided bugs coding yourself, you just would’ve been forced to confront them to fix/move forward.
You’ve outsourced part of your job and are lying to yourself about it. If you ACTUALLY accept that you aren’t writing the code and don’t know it well, you would be much more interested in auditing features and functionality.
5
u/[deleted] 21d ago
[removed] — view removed comment