r/ClaudeCode • 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.

139 Upvotes

81 comments sorted by

•

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 • Bravo

Yes well thats why you still need code taste to make something maintainable and secure. 

5

u/apyhubnico Co-founder at Apyhub 21d ago

thats very true

17

u/sage-longhorn 21d ago

Takes more than taste to make things secure

10

u/Front_Eagle739 21d ago

You know what I mean lol. You have to know what security means and how to tell what is and is not good practice

4

u/sage-longhorn 21d ago

I'm not disagreeing I'm saying in addition to understanding good security there's a ton of other process around it that will keep skilled humans involved in security for a long time to come

36

u/denadena2929 21d ago

“Person discovers why software engineering exists”

3

u/apyhubnico Co-founder at Apyhub 17d ago

haha fair. 5 years in the API space and i still had to learn it again the hard way

31

u/xenarathon 21d ago • Bravo

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.

8

u/GhostRTV 19d ago

Don’t worry, Claude is doing that as well, then repackaging it haha

Good or bad, it’s nice to have such access.

5

u/nate-078 18d ago

I assure you, it is reinventing the wheel, but as a square, and definitely not respecting licensing terms. Unless you have an indemnification agreement with them, that's a pretty poor life choice.

1

u/apyhubnico Co-founder at Apyhub 17d ago

that's a good standing rule. do you make it show you what it found before it starts building, or does it decide on its own? asking because mine happily picked a PDF library with barely any maintenance and never mentioned it.

3

u/xenarathon 17d ago • Heartwarming

i make it show me and the number of github stars, last commit date, and commit frequency. helps filter out unmaintained repos

0

u/[deleted] 17d ago

[deleted] — view deleted comment

1

u/xenarathon 17d ago

i mean for me it’s 90% building things that are only going to be on my own private server that will have maybe a few dozen users at most. not enterprise software. i’d much rather have the dependencies that i don’t have to maintain myself other than pulling them into my repo’s (and a small amount of making sure they remain compatible with my own code)

26

u/heavy-minium 18d ago edited 18d ago • Mindblown Bravo

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.

6

u/apyhubnico Co-founder at Apyhub 17d ago

this is the org version of my post and it's a lot scarier. solo, i only annoy myself. a CTO doing it means nobody else can pick the stuff up.

the "no precedent to point at" part is what makes it hard i guess... do his side projects at least go through the same repos and review as everything else, or fully outside?

5

u/ArugulaCareless8593 18d ago

Heh this is becoming a common story

1

u/numerical_panda 16d ago

Look how it turned out at Microslop.

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.

3

u/strugglingcomic 18d ago

Totally agree. OP is rediscovering the wisdom of the ages, aka: "Make it work, make it right, make it fast (or cheap, or whatever optimization)"

Everything old is new again.

https://wiki.c2.com/?MakeItWorkMakeItRightMakeItFast

1

u/apyhubnico Co-founder at Apyhub 17d ago

ha, guilty. apparently everyone has to learn that one for themselves.

4

u/monothom 17d ago • Popcorn

40+ dating: Sexy, sane or single, pick any two

2

u/apyhubnico Co-founder at Apyhub 17d ago

yep, "this works" to "this works in production" is exactly the gap i walked straight into lol

7

u/bensyverson 21d ago

The lens should really be "what do I want to maintain," not "what do I want to build?"

1

u/apyhubnico Co-founder at Apyhub 21d ago

It 100% echoes my thought process, quite literally explaining why we started building utilities to solve the maintenance problem five years ago.

By the way, I’m really curious: what did you recently build that you hate maintaining?

2

u/bensyverson 21d ago

Hate is a strong word, but I have built web apps for clients that I don't want to maintain in perpetuity. I need to find partners who I can pass these projects off to.

1

u/apyhubnico Co-founder at Apyhub 17d ago

thats a much better problem to have imo

6

u/Affectionate_Fact854 21d ago • Heartwarming

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

2

u/apyhubnico Co-founder at Apyhub 21d ago

this is exactly what I believe in... thanks for sharing

5

u/bostonaholic 21d ago • Heartwarming

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.

1

u/apyhubnico Co-founder at Apyhub 17d ago

most practical fix in the thread. you're right, half my list was never a decision, it just happened. an allowlist that fails CI turns it into one. do you keep external APIs in the same allowlist as packages, or track those separately?

1

u/bostonaholic 17d ago

I'd keep a separate list with the same CI check. Packages are easy because the lockfile diff tells you what's new. External APIs don't show up anywhere unless you make them, so I'd route outbound calls through one HTTP client config with the allowed hosts in it and fail the build when code references a host that isn't listed. Each entry gets an owner and a line on why it's there.

1

u/hitchr_aus 17d ago

I've told my Claude to ask me about any new external dependencies and make sure they are well maintained, and I've found it doing a decent job, because I've specifically asked that of it. Like it says "we need to add a library for XYZ, and here's option 1 which is well maintained and had it's last release 8 days ago, or option 2 which is also well maintained, but is a very large library and will slow the startup time for the app. Or I could code it myself, but I'd recommend option 1"

1

u/apyhubnico Co-founder at Apyhub 17d ago

nice, so it does the maintenance check properly when you ask for it. the "last release 8 days ago" detail is exactly what i never got. is that in your CLAUDE.md or do you repeat it every session?

1

u/hitchr_aus 17d ago

my CLAUDE.md has this in it:
## Dependencies
- Ask before adding any dependency beyond the framework and its first-party packages.
- Before proposing one, check it is well maintained: a recent release, active issues and pull requests, support for our current language and framework versions, no unresolved security advisories, a compatible licence, and a reasonable size and dependency tree. State what you checked when asking.
- Prefer framework features or a few lines of our own code over a new package.
- Pin the version, and record the choice and alternatives considered in /docs/decisions.md.
- Run the package manager's audit (e.g. `composer audit`, `npm audit`) in CI.

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.

1

u/apyhubnico Co-founder at Apyhub 17d ago

"plausible looking"

is the right word for it and fair on invoices, that's the part of my list I'm least comfortable with

1

u/Alternative-Fail4586 17d ago

We just got told about a policy change. We're no longer allowed to code or review..

4

u/sheriffderek 🔆Super Ultra Max 21d ago

This was always the question - before AI too. That’s what CTOs are for, right?

1

u/apyhubnico Co-founder at Apyhub 17d ago

true, the question is old. what's new is the build side got so cheap that nobody stops to ask it anymore.

5

u/bryanhunter 17d ago • Popcorn

> 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.

1

u/apyhubnico Co-founder at Apyhub 17d ago

fair point, the title is a bit off. the problem wasn't building it myself, it was not really building it at all, just accepting it. summary to code being the weak direction is a good way to put it.

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.

1

u/apyhubnico Co-founder at Apyhub 17d ago

to be fair it wasn't lazy design as much as me not asking. i said "add this feature" and it picked whatever got it working. you making the stack decisions yourself is probably the whole difference.

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/apyhubnico Co-founder at Apyhub 17d ago

maintenance agents help with dependency bumps for sure. my worry is the stuff they can't see... an exchange rate API changing its terms or a burner domain list going stale doesn't break a test. someone still has to own that.

1

u/Every-Sea-3185 17d ago

I got bitten by that, an API being moved/deprecated, which I caught by luck. So I ended up adding skills to keep documentation updated, validate end points and all. It’s not automated, but I run those manually before a release or as needed.

1

u/fulger099 17d ago

On our Mac app, the code can stay green while a macOS permission flow changes underneath it. External assumptions need a named owner and review date, because CI does not experience professional anxiety.

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.

2

u/apyhubnico Co-founder at Apyhub 17d ago

build what differentiates you

is where i landed too and "test theater" is painfully accurate lol... green tests it wrote for code it also wrote.

1

u/nate-078 17d ago

Right?

This is why I call bullshit on anyone who claims they don't write code and/or just let it runs on its own. Just absolute morons (or liars, most likely).

9

u/LucieGoosey__ 17d ago • Heartwarming

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/apyhubnico Co-founder at Apyhub 17d ago

blocking the install command is clever... it forces the conversation every time. and agree on taste, "have taste" doesn't help someone who is 3 months in.

does it ever get around the block by just writing its own version of the package?

2

u/AkayoKym 17d ago • Heartwarming

No lol, a package is probably thousands of lines of code for which it also needs more dependencies to install.. So it can't realistically rewrite it. If it rewrites a package that is a few lines then that's a good thing.

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/apyhubnico Co-founder at Apyhub 17d ago

agreed, "asked for it to be built" is the accurate version. and the low bar is the actual trap... when it took weeks, you checked if it already existed. now it costs one prompt so nobody checks.

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

1

u/yopla 18d ago

You're assuming the architecture map actually match the code, do you have proof? 🤣

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:

  1. Things you actually use regularly, preferably daily, so you have a reason to maintain, improve, and update them as your needs evolve.
  2. Things that are disposable by design, meaning they can eventually become obsolete, fade out, be abandoned, or be replaced without creating a major problem.

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.

sure but how do you get your robot to listen to you when you REPEATEDLY have to say "find and install known working solutions"...and then it fucking vibes the shit up anyways??

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

3

u/apyhubnico Co-founder at Apyhub 21d ago

I believe every AI agent is just too confident these days...

2

u/Fractoos 17d ago

Emulating senior engineers....

2

u/carrot0305 18d ago

Curious, what type of videos are you making?