r/webdev
•
u/mekmookbro
Laravel Enjoyer ♞
•
2d ago
•
1
View from the inside: First week working at an AI-heavy company
I just got a job where they vibe coded an app and hired me to put out fires and structure the project properly. They're so insistent on "moving fast" that they said on my first day of the job that I'm not allowed to write code by hand. And I should prompt claude instead.
After a week of working there, my view on AI has changed quite a bit.
When I first got the project, it was... worse than a developer's worst nightmare.
- Users table had 59 columns, at least 50 of which remained empty depending on user role
- The backend had parts written in python, django, node and php. None of which was doing anything the others couldn't.
- Some logic was repeated in multiple different controllers and languages that only Claude knew which to use when.
- Probably because the guy who vibe coded the app was familiar with Jinja templating engine in python, they made Claude rewrite the whole Jinja templating engine in PHP. Instead of using a templating engine that was built for PHP, like Blade.
- Things that should've been kept in the database was being read from random .json files
- No foreign keys in the database, all integer columns (no indexes either)
My first task was to make claude turn this "random bullshit go" app into a properly structured Laravel project. I used the Pro tier company account, highest thinking level, and planning mode.And they said the output didn't have the same frontend as their main app. Turns out they were using a separate frontend/backend approach. But here's the neat part: their backend folder already had frontend views within it. That's why Claude was using their "old design". I don't like/use a separate front and backend approach a lot so I don't have much experience with it, but I'm pretty sure if you're separating your frontend from your backend, you shouldn't have frontend views in your backend directory.
This is what top of the line, enterprise tier Claude agent does when the developer knows nothing about development.
After I took over the project and fixed the errors I listed above (and many, many more) I started working on new features on the app. And I must say it's going way smoother, and the output looks way more professional and maintainable with me (and my 15 years of web development experience) giving the prompt.
This experience made me truly understand that AI is literally a tool. It's as good as the person who's commanding it. A vibe coded app truly reflects the experience of the vibe coder.
The bright side is: all those years and years we put into this field are not for naught. A hammer is a hammer, what it does depends on whether it's a sculptor or a toddler holding it. You still need to know the best practices to make sure your app follows the best practices.
All that said, I've always loved coding my apps by hand, and I still do. I'm still coding my own personal projects by hand, line by line. Afterall that's how I was able to spot these mistakes and fix them in the first place. I also don't want to fund building data centers all over the world by giving them my money.
263
u/HaphazardlyOrganized 2d ago
This post does help a bit with my imposter syndrome now that AI tools have become mandated.
170
u/owp4dd1w5a0a 2d ago
So how do we get out Junior engineers the experience they need to eventually become sr? I predict looming disaster in the software industry.
42
u/CaffeineLiker 2d ago
oh fuck, been there, say no more lol
24
u/cthulhufhtagn 2d ago
Management where I'm at is pushing vibe coding hard, hiring folks with zero coding experience to prompt all day. I'm somehow supposed to work with them.
Forget the fact that this is a terrible way to do business. Forget every complaint you have about such a way of doing things. Here's my number one question. How does someone who does that all day go home and feel good about themselves? They did nothing. They talked to a chatbot and it did all the work. How can that feel good? I can't imagine a sense of accomplishment with that.
14
u/bumsahoy 2d ago
How tf did they end up with a laravel app?
4
u/thisisnotdavid 1d ago
How old was the codebase? What you say still stands of course (and probably will forever), but I'm wondering if a lot of the terrible practices were introduced by models we'd now consider far below frontier.
3
u/Standard_Scarcity_74 1d ago
This is exactly why people have been shifting from aiming for developer roles to editors and checkers. Stupid that they’d go out of their way to insist not coding by hand. If anything, they should be allowing any methods necessary for a working app and stave their hands where they ought not to be.
3
u/CoatNeat7792 1d ago
It's wild to say "no more code writing", if I can easily 10 lines of code, instead of spending tokens and LLM insisting on it's solution
2
u/Mark_ODS 4h ago
This is something I’ve thought about, but I’ve only worked at places where they have legacy code bases and I haven’t been on the forefront of building something from scratch with AI that the company is actually selling so it’s fascinating to hear your story.
How do you approach establishing policy, guard rails, and repeatable systems that follow coding standards around your AI development team? Do you literally just write up a markdown document of everything that should be done and then give it to Claude? Do you have a centralized repository of guidance somewhere?
3
u/popje 2d ago
Do you have any tips on claude.md and maybe your own workflows to avoid Claude going offtrack or build over complex solutions, maybe a strict QA testing? I feel like as long as you keep monitoring its output and logic there no such thing as technical debt but again it's hard to read everything when your boss expects a dozen feature a day.
15
u/External-Example-292 2d ago
You should post this in vibecoding sub. People there seem to think everything can be vibecoded without anyone understanding the codes 👀
23
u/faet 2d ago
Honestly, this is what people need to realize. If you tell claude to build something, in general it will look at how you've built stuff in the past and re-use that code. If it sees a snippet of code to "Fix" something used in 3 places, it will repeat that 50x as it thinks it's fine.
Most corporate code is bad. there are a ton of bug fixes/patches/work arounds from a variety of skills. Claude amplifies that.
Knowing how to query/design/and architect with claude is a skill. Knowing how to implement filters/protections to keep claude from repeating those mistakes is a skill.
Hell, just planning with claude *before* you send it off to build something is a skill as well.
20
u/jpsreddit85 2d ago
I compare it to a chainsaw. In the hands of a skilled lumberjack, he will fell many more trees than with just an axe. But, in the hands of someone who doesn't know what they're doing, it'll probably need an ER visit within the week.
9
u/LemonAncient1950 2d ago
I have a similar project at work. Brought on to take an amateur vibe coded app in the healthcare space and make it compliant, secure, scalable, etc.
The app itself is impressive. It's boring clerical software built by a mid-level manager but it solves problems that were costing businesses in their industry a lot of money. It's also a compliance and security nightmare and a huge legal liability to the business.
The way I see it is: vibe coding lets product owners quickly build prototypes and POCs.
8
u/Dependent-Sink8966 1d ago
Honestly this is the scariest part about "AI only" rules. You only knew how to fix that mess because you spent years breaking your own stuff and learning why it broke. If someone skips that part and just prompts from day one, they won't even know what bad architecture looks like until prod catches fire. Glad you got to clean it up before it got any worse.
8
u/Interesting-Bet-4036 1d ago
59 columns? Yeah, that’s cute.
Last month I got handed a database with ~1,200 tables. The average table had 110 fucking columns, and only 10 of them actually had data.
By the time I was done, we were down to 20 tables.
7
u/astonish42 2d ago
Simply put, entropy will do its course, hopefully fast.
Also, coding may be fading (spoiler: it's not!), but critical thinking will not. Even as I am forced like many of us into using AI against my will, I still detail and test things obsessively and I still get better results than slop machines (my colleagues).
The point is, the time and effort spent on state-of-the-art and actually usable things is not that different than before, only slops are cheap, but now there's also a machine in between that costs a fortune.
6
u/mau_cervera 2d ago
The 59 column users table hit home. On vibe coded projects I've seen, the hardest part isn't the code, it's that nobody knows which of the three versions of the same thing is actually live. What helps is not refactoring anything the first week. Just map what runs, what's dead and where the data really comes from. Then small PRs, one thing each, so when something breaks you know why. If they won't let you write code by hand, at least make Claude write the plan first and review that instead of the diff. Way easier to say no to a bad plan than to 2000 lines.
2
u/FriendToPredators 2d ago
I wonder if the front end views in the backend folders weren’t specialized maintenance views that mimicked the front end so the maintainers could see the live versions but still have maintenance hooks?
26
u/lphartley 2d ago
This is not an 'AI heavy' company. It's a company light on adults who think critically.
When used by people who care, AI doesn't produce slop.
9
u/Absulit 2d ago
It works in the beginning, the thing is that you will eventually surrender your cognitive capabilities to the Agents, maybe not by your own hand, but by the hand of your managers, and then suddenly, you will not be able to do anything without an Agent.
4
u/miria01 2d ago
Keeping each agent task in its own commit makes review much easier: you can see exactly what it changed and undo a bad attempt without losing the rest.
4
u/NoShftShck16 1d ago
I'm not an IC anymore, but I'm managing people that are going through this same process and we are dealing with a lot of the same struggles. And frankly you nailed it, I tend to call it an amplifier. If you are good at what you do, man can something like Claude really let you flex those muscle ten times over. You can really see the people who figured out that their brains worked faster than their fingers and love the idea of "conducting" a few agents at a time and are having a blast.
But you also have the other side of that amplification coin, the people who've been phoning it in and think that writing a few sentences into Claude Desktop is the same thing was what the engineer above is doing and they think their just gonna skate even more than they already have. Their laziness is amplified and so is the magnifying glass on them from my experience.
And then it's the unfortunate third type who you also touched on. The person who just hasn't really grasped where their place is. AI came at the worst time in their career when they were already feeling burnout setting in and now they are overwhelmed and feeling underwater, or worse its the junior learning all the bad habits who is going to be that person soon enough. I feel for them so badly. I have one on my team that, for the past 3 months, has been working with me to find their passion again and it's so tough for them.
AI is a tool, but it's also a massive paradigm shift, more than anything I've seen in my career. I'm glad you are finding some enjoyment out of it because it's the best thing for everyone right now until the bubble pops, and it will.
4
u/yahalloh 1d ago edited 1d ago
give a man a token and you let him prompts once;
teach a man to code and you brought him a joy for a lifetime. /s
3
u/SolarNachoes 2d ago
Non techies are going to push something to Azure/AWS and wonder why they a a million dollar bill at the end of the month.
3
u/BeyondExistenz 1d ago
The key is you become the dev manager and the product manager. You worry about the code but dev managers rarely manage code, they manage people but they worry about the code. So manage your agents and have constant code reviews and security reviews with DIFFERENT agents. Sometimes I bounce things around every frontier model in existence. The sooner you accept this and really start focusing on output, that the output is exactly what you want, as if you were the dev manager, the product manager, even the CEO that doesnt give a shit about the code the better you will adapt. Programmers are the most adaptable people in the world. It's time to fucking adapt.
3
u/Effective-Spot-4070 1d ago
59 columns on a users table and rewriting Jinja in PHP is wild. AI amplifies whatever architecture habits you bring to the prompt, good or bad.
3
u/marmulin 1d ago
59 column table reminds me of my bosses attempt to vibecode a database of clients/warranties. It ended up being a 400 page word document hosted on Dropbox… 🤦🏼♂️
1
u/cloudw0w 1d ago
An uncomfortable question I’d like to ask you and myself as well.
Do those implementation faults actually affect the business? If, yes in what ways?
Maybe the business doesn’t care if the user table has 100+ columns if it’s not visible to a user. How long can we carry on with such mindset? Perhaps, it’s fine for some businesses?
2
u/maxverse 2d ago
I'm working on this on our app as we speak.
2
u/gxrphoto 2d ago
I also am relatively new at an AI heavy company. All of us are actual developers, with 1-20yoe. It’s pretty good if you can live with the pace and the fact that you mostly design solutions and don’t write code. But I completely concur: If you don’t know what you’re doing, and if you don’t know when to jump in and correct the course, Claude would do some crazy stuff. People who say you can vibe code anything only say that because they do not have the skills to recognize the crazy stuff (or do something about it). It’s a great productivity booster for actual developers, but it’s also mentally taxing. Instead of calmy implementing the plan you made yesterday over the upcoming two days, Claude gives you the implementation in ten minutes. And you’re back at evaluating, making decisions, …
We’ll see where it goes…
3
u/Nervous-Cellist-627 2d ago
Genuinely might be better to just start from scratch, lord
1
u/Purple_Felix33 2d ago
This sounds catastrophic… and I’m saying this as a student with so-so level of knowledge 😭
1
u/ArielCoding 1d ago
Before you add foreign keys, check each table for rows that point to something that no longer exists, the database will refuse to add the key until those rows are fixed or removed.
1
u/allaboutzaid 1d ago
The 59-column users table with at least 50 empty depending on role is the detail that stuck with me — I've cleaned up small client sites in Mumbai where the same thing happened, just on a smaller scale, and splitting that table was the first thing that made the rest readable. The Jinja templating engine rewritten in PHP instead of Blade is a good example of what you said about AI being only as good as the person prompting it. Did fixing the database structure first, before the Laravel rewrite, make Claude's output any more reliable for you?
1
u/Mindless_Season_3389 1d ago
rewriting Jinja in PHP is the part that'll keep me up tonight. did he at least keep the {{ }} delimiters or did he have Claude invent its own for authenticity
1
u/posrav3n 1d ago
thanks for posting this, much needed perspective
1
u/Hostman_com 1d ago
The duplicated business logic is the telling part. Two controllers can each look fine while disagreeing about who can edit a record or how a value gets calculated. Spotting that takes someone who knows which rule the product actually needs. That matters more than how much code someone typed.
1
u/Pear-soda 1d ago
Slop is produced when people don't understand how to use AI, or their subject matter IMO. That sounds more badly managed than just an AI coding issue too, are the human guidelines strong enough? Sounds like they're just vibe coding slop
1
u/PippaKelly62 1d ago
AI is so prone to being treated as a coding messiah that a lot of people just shut off their brains and generate everything. I see this too many times, they don't even check before escalating it to someone else.
1
u/_MarkG_ 1d ago
"The backend had parts written in python, django, node and php" - Sounds wild, did anyone explain that part?
1
u/-_--_-_--_----__ 1d ago
All we have to do now is stop AI advancement completely
1
u/Effective_Occasion77 1d ago
All I can say is don't trust A.I. blindly.
1
u/Plastic_Koala2044 1d ago
Watch how much of the week goes to reviewing agent output. If nobody owns that review, the speed does not hold.
1
u/Outrageous-Chip-3961 20h ago
Yes finally people are starting to reflect on this: AI is a tool that can assist both good and bad development for different reasons. If it is an equalizer, then you and me are equal and have the same tool, so who makes the better code and app? Me with experience, or you with none? Get the fuck out of here. I dont generate slop, I generate code that is readable and follows best practices. It just took me 1/10 the time to write it. Not change my style, not change my code, just speed up my delivery (because its a tool). I now microwave my apps, I used to slow roast them.
1
u/No-Market-4906 2h ago
Incredibly grateful to the senior devs at my company helping me learn how to learn to use AI to write good forward thinking code.
1
u/Geraldwelly 2d ago
The part that matches my experience is that planning mode can't see conventions nobody wrote down. Once I put a short ARCHITECTURE.md in the repo root (which stack owns what, Blade for views, where config lives, no new JSON files) and told it to read that before every task, the drift mostly stopped. Before the big moves I also had it write characterization tests against current behavior, so a rewrite that quietly changed the frontend showed up as a failing test instead of a surprise in review. Trade-off: that doc goes stale fast unless you update it the same day you change a decision.
1
u/Bobyo 2d ago
claude make app based on slack chat history, plz no mistake. 0 bugz also, thnkx
1
u/BurningPenguin 2d ago
Yeah, that's pretty much what i mean, when i say that statements like "you did nothing" are weird whenever some rando sees claude as contributor in github. Software dev consists of a lot more than just writing text into a window. People with proper experience in software dev don't just write "make app" into the chatbot.
0
u/quisido 2d ago
I agree that AI is only as good as its user. It's a force multiplier.
I'll nitpick on this. The output looks more maintainable to you with you giving the prompt. As soon as you leave and someone else takes over, the cycle of "what the fuck is this shit?" will continue, as is tradition before AI, so shall be tradition after AI.
0
u/super____user 2d ago
Sounds awful.
It’s not like that everywhere. I work at a company where we are very AI forward. Every developer starts with a $60k/year Claude budget but it can be increased by request. The code we generate is solid and we have experienced engineers putting the right guardrails in place.
I fucking LOVE it. Have no desire to go back to the old way.
-2
u/UnnecessaryLemon 2d ago
"moving fast" and Laravel should never existing one sentence. I'm sorry bro but you're nowhere near what AI heavy companies are doing.
-1
u/kjjphotos 2d ago edited 1d ago
We've been using Claude code at my job and I agree with your post. Most of us have years of experience and the stuff we're building is not "slop" or poorly optimized. AI is literally just a tool and you need to have the right experience and knowledge to use it effectively.
I work exclusively on Laravel projects and Claude has been great. Laravel has really good documentation and is very opinionated. AI loves both of those things.
I think unifying the mess you inherited into a Laravel project is the right call, especially if you already have pre-AI experience with the framework so you can steer the AI in the right direction.
Editing my comment to add... The downvotes don't make my comment any less true. I've been using Laravel for 8 years and was doing basic web development as part of a previous job for 8 years before that. And I did it as a hobby for probably 5 or 6 years before that when I was a teenager.
Claude, with the right guidelines, prompts, and skills, drastically improves efficiency without sacrificing much quality.
0
u/yihuaxiang 1d ago
The first rewrite landing on the wrong frontend is the part that stuck with me. A high-tier agent will confidently rebuild the wrong surface if nobody has written down which directories are actually live. A no-hand-coding rule still leaves room for that kind of work: a short schema, the foreign key rules, and a line that says not to invent a templating engine can live in a file the agent has to read before it starts a feature. The 59-column users table wasn't really a model failure so much as a missing constraint. Reading every diff still matters, but those written limits are what would have stopped the Jinja-in-PHP detour.
-1
u/DirectorFluffy3748 2d ago
Think you’re being overly generous to yourself ….when was the application vibe coded? If it was a year ago the AI models from then are very different to now. So your prompting to the vibe coder’s isn’t an apples to apples comparison
0
u/[deleted] 1d ago
[removed] — view removed comment
-2
u/[deleted] 2d ago
[removed] — view removed comment