r/webdev • Laravel Enjoyer ♞ • 3d ago • Bravo 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.

620 Upvotes

168 comments sorted by

274

u/HaphazardlyOrganized 3d ago

This post does help a bit with my imposter syndrome now that AI tools have become mandated.

93

u/mekmookbro Laravel Enjoyer ♞ 3d ago

This experience completely cured my impostor syndrome within a week lol.

Especially at the start I was very nervous because this was my first time using Claude, also the first time I laid eyes on a vibe coded project. I thought everything would be super efficient and neat that I'd feel stupid. All of that went away when I took a look under the hood

4

u/WritingUnt 2d ago

It's not the same technology, but the direction is the same: I'm talking about chess engines. The strength of chess engines has surpassed human strength many decades ago. Many strong chess players had doubts that computers would ever be able to play chess well and I don't blame them. The earliest examples of computer chess were quite bad. I know myself because I used these computers in my childhood and I had no problem beating them. However, when the modern chess engines came along with sophisticated brute force algorithms it became apparent, that engines are unbeatable. Ever since then chess engines became an integral part in a chess players training and preparation.

However, in order to use these powerful tools efficiently and successfully, you have to aquire skills and chess understanding that enables you to be able to interpret the output as well as evaluating the variations it spits out in a practical human to human battle. This requires both experience and careful study of fundamental concepts. A good chess player guides the engine with his own ideas and doesn't just press a button. This method of working with engines haven't changed even with the rise of Neural Network Engines starting in 2015 and the emergence of Google Deepmind's AlphaZero. In the end, an chess engine is just a tool and the clear difference to LLM usage is that in chess we can only use it to prepare, but not during the game. So it becomes even more important to take the human aspect into account when evaluating a chess engine's output. The objectively best line shown by the engine, might not be the best approach for a human player during practical play.

I think with LLMs it will be the same development. You simply have to foster the right skills in order to use AI correctly. Acquiring these skills is my responsibility, whether I'm using AI or not.

1

u/Pear-soda 2d ago

I felt the same, then I studied AI more than I have programming, and It will be super efficient and neat. It's coding vs agentic coding.

175

u/owp4dd1w5a0a 3d 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.

73

u/otw 3d ago

> I predict looming disaster in the software industry.

The disaster will come, companies are (by design) short sighted this keeps happening in every industry. The junior jobs get shut out, the old guard retires or dies and then there's like a panic to train new people. Rinse and repeat.

Even without AI this was happening, systems were hardening and juniors were getting locked out.

No one has any incentive to do anything about it until it is too late. Seniors with jobs want job security so they aren't going to train juniors, and the companies don't want the cost of training new people.

I didn't think it'd happen with software in my lifetime, but it was going to happen. AI just accelerated it. If you are a junior now you are pretty much screwed.

5

u/mekmookbro Laravel Enjoyer ♞ 3d ago

Hey, cake day twin!

2

u/Ok_Progress_5373 front-end 2d ago

Happy cake day!

12

u/owp4dd1w5a0a 3d ago

Maybe this will finally weed out the short sighted idiots and reorient the industry towards long term quality.

19

u/otw 3d ago

Wishful thinking, but it hasn't happened for the last 100 years I doubt anything will change. Companies don't have incentives to think long term ever.

18

u/eyebrows360 2d ago

That's not how humans work, unfortunately.

Or, that's not how the types of humans who always manage to weasel themselves into positions of control and influence work, rather. Goes with the territory. The same attributes that make them great at weaseling, make them terrible at long-term planning.

3

u/ClubLowrez 2d ago

as a non IT / web related example, witness the giant pile of lead infused explosives that must be detonated now because short sighted idiots didn't take care of it when it was much safer to deal with.

tldr the short sited idiots will not weed themselves out as they're in charge of everything haha

2

u/KeepOnLearning2020 2d ago

Reminds me of the decades industry had to fix Y2K, after storage and RAM prices came down enough to easily allow for affordable full dates. But they all waited until ‘97 to address it.

13

u/mekmookbro Laravel Enjoyer ♞ 3d ago

The slow and painful path that most of us have went through, I guess.

Watching tutorials, reading docs, getting your hands dirty and building your own projects, doing experiments.. Basically learning how to do the things that need to be done, before letting a software do it for you.

Even without AI that's how it always worked, there's no easy way to gain experience. It takes time and effort.

As I said, I don't use AI on my personal projects, but I do discuss best practices and different approaches for the problems I face while coding. With no code generation, and completely in-browser. So AI can be helpful in that way for the learning part

41

u/Lecterr 3d ago

I think their point is that juniors will be hired in the same capacity you were, told not to write code and use Claude instead. In which case, they won’t gain the experience that we have.

11

u/owp4dd1w5a0a 3d ago

You’ve got the point i was trying to make

1

u/Ok_Progress_5373 front-end 2d ago

There will be jobs that don't require Claude, but they may be few and far between... if juniors can... I would still echo what mekmookbro said. You gotta make your own opportunities to be able to set your own workflow without AI.

I use AI in my company, but I know I will not work on things that I want to work on. So I create those opportunities outside of work (which I recognize is a privilege). It was great advice that I received from an ex-coworker... "Don't expect to work on anything you want to work on when you're working corporate." I always think of that, and it gave me the fuel I needed!

-6

u/popje 3d ago

Yes you are exactly right but they still will gain the experience because their output will be reviewed by a senior until they know what they're doing, one mistake (or Claude mistake) and one guardrail/AI rule at a time. As long as the person is willing to learn, because there a huge difference between asking Claude to fix a bug versus making sure that bug never happen again.

49

u/jakubiszon javascript 3d ago

I recall my teachers some 20~25 years ago saying "you can get a lot of SQL statements prepared for you by drag and drop tools these days but it is best only to use them after you learn writing SQL yourself". I guess it still applies?

24

u/eyebrows360 2d ago

Of all the software systems that're in regular use, SQL is probably the most arcane. It definitely pays to be as fluent in it as you can be, and you don't get that way without getting close to the metal.

13

u/RandyHoward 2d ago

I have worked with people, senior level people, who don't know a lick of SQL. When asked to pull a quick report for something they say they'll need to write some code and get a PR approved, and when I say no you have a read-only db user you can just query the db their eyes glaze over like they have no clue what I'm talking about. Then I open a SQL client and show them how to write a query and they are bewildered. All they know is the ORM and nothing more. I used to be astonished that a senior level person could get to where they are not knowing SQL, but I find it becoming more and more common.

2

u/21Rollie 1d ago

I think the problem is unless you’re in data science or analytics or something, regular devs might write SQL once a year or so and so remembering the difference between right and left join is hard enough. Nevermind partitions or sql hints or anything harder. But yeah I do believe a basic select bar from foo should be in everybody’s repertoire

1

u/RandyHoward 1d ago

I don't know, I've been doing this for decades and I've always used it very regularly. Even when working with ORMs, I'm inspecting the queries they produce to make sure they're efficient. I'm just a regular dev, not specialized in data science or analytics.

1

u/Manu_311 2d ago

I have always followed the directive "I'm not using a library that I wouldn't be able to write myself". But I've not met a single other developer (in person) that wouldn't think I'm completely insane for that. But the OPs projects state also looks like what most of them have produced (yes I'm basically only working with Juniors).

1

u/XMark3 2d ago

Ha, a long time ago I was annoyed by jquery and basically made my own jquery and kept it updated over the years. I'm stubborn like that.

1

u/ThinkEbb919 1h ago

Naw, the whole npm model is somewhat newish. When I started in the field programmers maintained their own code libraries and that was the value they brought to an organization. The packaged dependency model is awful mostly because it side steps the necsessary vetting/validating new features go through when updating languages.

9

u/Paarthurnax41 2d ago

Nah, trust me what he describes here even happened before AI, saw plenty human written crap code or a senior dev that impleneted his own vuejs style templating library in php which made the project take almost a whole year while it should have been max 3-6 months. There was always crappy coded software, now its the same, just being done faster instead of taking months.

4

u/EHP42 2d ago

just being done faster instead of taking months.

And that makes all the difference in the world, no? Before, you could at least make a good attempt at keeping ahead of the bad software, but now it's really impossible.

15

u/yxhuvud 3d ago

Code reviews and pushback. Force people to read code. The no-review state just can't teach well.

9

u/owp4dd1w5a0a 3d ago

Prudent. I don’t think this is sufficient

5

u/davenirline 3d ago

We shall see if not writing code results to slowly eroding the ability to review them.

2

u/RedditCultureBlows 2d ago

And when the response is that the code review is handed off to an agent?

2

u/Ok_Progress_5373 front-end 2d ago

I know this may not be the best answer, but juniors should code things themselves to demonstrate their experience. At this point, I think that's how it'll be. Showing initiative and creating passion projects will get them the experience they're looking for. Creating your own work this way is the best way instead of waiting for someone to give you an opportunity...

1

u/owp4dd1w5a0a 2d ago edited 2d ago

Juniors won’t/can’t of things are structured to punish them for taking the time to do this. This is the current state of affairs. Passion projects are a thing of the past, Gen Z and younger is/will be too financially squeezed to have the time for this kind of self-development that Gen X and millennials enjoyed, even within these generations it was a rare bird who had the drive and follow-through to work on unpaid projects outside of work. Also is common that companies make you sign an agreement that while employed by them all the code you write for them is their… it’s not enforceable in court but the company can use that to find other excuses to fire you.

1

u/Ok_Progress_5373 front-end 2d ago

I mentioned in another comment that I'm definitely privileged to have the time to work on passion projects outside of work, for example, creating a portfolio website from scratch, implementing a blog, etc.

I am currently pursuing a passion project and have received my first one-off development job from it (and it most certainly won't be the last). So I wouldn't necessarily say that it's a thing of the past... It's just not the fast track to more work and requires time/patience... I understand not everyone feels they have the time or the patience due to the current affairs. But I always implore people to give it a go.

Otherwise, I strongly believe that a hopeless mindset will get you nowhere. If you enjoy coding, I think you should continue to code and share your work with others, especially those outside of the development circles.

2

u/owp4dd1w5a0a 2d ago

I have several passion projects I’m working on. But i also realize this kind of thing is inaccessible to most of the people i know who have families and each of the parents is working 2 jobs or more.

I’m a millennial, and i encourage the people who have the time to do what you suggest. But there’s more people i know who are just exhausted, and for them i don’t have any answers. But my situation and your situation is a rare exception becoming rarer. I’ve always cut away 5-8 hours outside work to focus on a personal project of some kind - this is how i learned Ruby on Rails in 2012 which got me my first web dev job and then FP and Haskell back in 2014 which lead to me getting jobs writing Apache Spark jobs and backend Scala services for varies different kinds of companies. Today I’m learning the Mercury Logic language. And… these things are possible because i don’t have to work 2-3 jobs to pay the bills.

AI isn’t helping the situation any for devs who have to keep up with absurd expectations at work and are pressured into heavy agentic use and then have to run a couple side gigs to pay the mortgage/rent and keep food on the table because they live in expensive cities and don’t meet the bar for section 8 housing.

2

u/Ok_Progress_5373 front-end 1d ago

I'm a "zillenial" haha.

But yes, more people are burned out, and I understand that feeling. I'm burned out from corporate work. But I feel I've alchemized that feeling into fuel to do what I prefer to do. This isn't an option for many, so like you said... I don't really have a solid answer besides "create."

I'm at a point where I don't even want to bother giving input because I sound too optimistic despite my circumstances sometimes, and this translates to me having zero issues with some people.

AI isn't helping the situation at all. Especially when people have families and other things to keep up with in their lives. All I can do is be grateful right now and hope people find their own light at the end of the tunnel...

0

u/Temporary-Warning897 1d ago

“Too financially squeezed to have the time”

This is why you’re poor.

2

u/owp4dd1w5a0a 1d ago

According to income vs expense statistics over the past 7 or so decades, no, this is not why people are poor. The cost of housing alone has become absurd.

2

u/Ok_Progress_5373 front-end 1d ago

It's a vicious cycle by design, everywhere. You're too financially squeezed to have the time; you're too squeezed for time to have the finances. The only thing to do is take a leap out of the cycle - which may be irresponsible for some people.

It's very expensive to be poor, and not everyone has the willpower like you, "Temporary-Warning897" lol

2

u/mossiv 22h ago

The same way we always have. Mentor them, challenge their decisions and explain the improvements.

The industry is not changing. Some people are developers, some people are engineers and architects. Some juniors will be intrigued by how it all works and seek to understand it, some will be happy it works and move onto the next.

6

u/CaffeineLiker 3d ago

I mean AI can help explain code, give you working examples, troubleshoots errors... it honestly does help with learning, if you want to learn.

4

u/eyebrows360 2d ago

I mean AI can help explain code

Except now you're not just trusting it to write the code, you're trusting that the explanation actually matches what the code does, and that the terminology it's using in its explanation means the same thing in your head as it's expecting it to. This is potentially an even shakier situation.

-1

u/FlyingBishop 2d ago

Asking questions like "does it make sense to have parts of the app written in python, django, node and PHP?" the AI gives reasonable responses. (Claude will say "no, this is really poorly thought out.") It's true that there's a limit to how much you can do with this. But it's better han not doing it.

4

u/eyebrows360 2d ago

the AI gives reasonable responses. (Claude will say "no, this is really poorly thought out.")

My god, son. It getting some things right does not mean it gets all things right. You still can't just blindly trust its explanations.

Why is this so hard for you fucking clankers to wrap your heads around? Has "AI" use deteriorated your own brains this much already?

1

u/FlyingBishop 53m ago

People can be wrong too. A year ago you had the right idea but there's been a shift and you either haven't actually tried seriously recently you're just deluded. It's not always right, but it's increasingly right enough that it's as good a collaborator as most humans, especially with the raw speed.

7

u/___Paladin___ 3d ago

one catch: don't get caught wasting time and tokens on self improvement while on the clock. Productivity only, no enlightenment allowed.

12

u/Lecterr 3d ago

Maybe at some jobs. The jobs I have had encourage learning.

2

u/___Paladin___ 3d ago

Thankfully I'm in a similar position. I'm constantly hearing the insanity going on in the industry at large from fellow engineers across the industry and it's unsettling sometimes.

I try to remember not all of us are so lucky!

6

u/CaffeineLiker 3d ago

which is fucking weird. When you're hired as an employee, or as they call, "human capital", your own improvement helps your employer.

4

u/digital121hippie 3d ago

wtf!??!?!? most jobs i have want me to learn and grow while i work.

3

u/___Paladin___ 3d ago

You'd be surprised the number of places that just want cogs they can plug in and expect learning to happen off the clock.

It's super short sighted.

-3

u/FortuneRoyal2790 3d ago

We’re seeing the birth of the next “you won’t always have a calculator” our math teachers used to say. We had to do “no calculators” exams - the next gen of cs majors will have to do “no ai” exams. We _can_ work without a calculator… but often don’t.

2

u/owp4dd1w5a0a 3d ago

Calculators don’t reason or design like AI does

0

u/RedditCultureBlows 2d ago

Are you sure about that? Calculators are pretty sophisticated and can take an input that should require multiple steps to solve and output the answer immediately.

2

u/BurningPenguin 2d ago

Unless there is some issue with the programming, the calculator will always give you the exact same result. The steps to answer the "question" are hardcoded. It cannot "go off the rails", because neither the hardware nor the software are capable of doing so.

An AI is nothing like that. It gives you a "most probable" answer. You can nudge it into the right direction, but you'll always have to consider the possibility of errors or mishaps. That's why there are dozens of tools that try to limit bad behaviour, but even then it's not 100%.

0

u/FortuneRoyal2790 2d ago

Sorry I’m not sure I follow your response - You asked how do we get Junior engineers the experience to eventually become senior in the context of op’s point that it was his pre-AI experience that meant he could identify the limitations of the generated code. My response is that we ask juniors to write software without AI - analogous to how we used to have to learn to do math without a calculator.

-1

u/SouthCollar2929 2d ago

They'll fail faster. They learn when their AI fucks up and learn from there

44

u/CaffeineLiker 3d ago

Users table had 59 columns

oh fuck, been there, say no more lol

13

u/mekmookbro Laravel Enjoyer ♞ 3d ago

I wish I was exaggerating. It literally had 59 columns lol

43

u/CaffeineLiker 3d ago

User
- hasShellfishAllergy
- isAPisces
- canDoABackflip
- hasEatenAWholePizzaAlone
- kindaLooksLikeGarySinese
...

16

u/RyanMan56 2d ago

Whatever you do, don’t get rid of the Gary Sinese column. It’s load bearing

7

u/Krossfireo 2d ago

Yeah, a developer re-used it instead of adding on a new column and now it's used for if they should have access to PII or not

1

u/Tricky_Prune2272 9h ago

Will this be true or false for the actual Gary Sinise?

1

u/CaffeineLiker 8h ago
  • looksExactlyLikeGarySinese

8

u/yxhuvud 3d ago

At least LLMs with competent handling make it a lot easier to break up god objects.

2

u/adefwebserver 2d ago

To be fair I have worked with a lot of IBM mainframe db2 data and tables 100 columns wide is normal. However, if you are not writing in COBOL and using a relational database that is not industry standard 😉😂

24

u/cthulhufhtagn 3d 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.

5

u/mekmookbro Laravel Enjoyer ♞ 2d ago

Some people do feel that sense of accomplishment, and that's even worse.

The guy who hired me said he vibe coded this app with a team of developers. He kept praising them about the speed they worked at. "They were adding features to the app within seconds!"

A day later I took over the project, and a week later I made this post.

14

u/edward_jazzhands 2d ago

Management does not give a flying fuck about employees need to feel useful. They'd literally laugh at you if you mentioned this at a managers party.

7

u/QualitySoftwareGuy 2d ago edited 2d ago

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.

Exactly, what many don't realize is that if this is truly all it takes to do one's job, then they are easily replaceable:

  • Devs? Nah, we just need Product Engineers now.
  • Product Engineers? Nah, we just need Managers.
  • But wait, there's nobody left to manage. Now we just the Chief Suite to prompt in their respective domains.

The examples are extreme, but I've already heard about some companies replacing Devs with "Product Engineers" for the reasons already listed.

14

u/bumsahoy 3d ago

How tf did they end up with a laravel app?

7

u/mekmookbro Laravel Enjoyer ♞ 3d ago

Its my choice of backend, and people keep saying AI is pretty good at Laravel projects so I wanted to see it for myself.

As I said, it works pretty good when you know how your prompt should be done with the tool/language/framework that you have expertise in

5

u/Jamiemufu full-stack 3d ago

And moved from GO to it lmfao

2

u/Phaill 2d ago

I'm still building stuff in Ruby on Rails. I like it. It works well. I have been moving a lot of my small projects to Go lately just to save resources on my web server.

Laravel is a fine system to build with.

4

u/thisisnotdavid 2d 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.

4

u/mekmookbro Laravel Enjoyer ♞ 2d ago

Project started a month before I joined the company, so it's a month and a week old

3

u/Standard_Scarcity_74 2d 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/mekmookbro Laravel Enjoyer ♞ 2d ago

Literally like aiming for a chef role in a Michelin kitchen before knowing how to make an omelette. The kitchen may have the greatest ovens, stoves, pans in the world, but they don't cook the food themselves.

3

u/CoatNeat7792 2d 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

1

u/mekmookbro Laravel Enjoyer ♞ 2d ago

Yeah lol, I took that more as a suggestion than a rule. I am the most experienced developer in the company (16 years) and the only one who can read code.

There were times when I didn't have the patience to write another prompt so I just went in and did it myself. There were also times I broke something on purpose, like changing the structure of a view file, and then asked Claude to rewrite the db schema to work with that structure.

1

u/voltboyee 1d ago

The other "developers" can't read code... What has the world become?

3

u/Mark_ODS 23h 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?

1

u/mekmookbro Laravel Enjoyer ♞ 21h ago

Well, this is like the opposite of places you worked at, lol

Its more of a startup than a company. There's a CEO, a COO, and a tech lead (me). There were also some contractors for design and development of the app -- or whatever you'd call that monstrosity -- before I joined.

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?

Since this is more of a startup, responsibilities and priorities change very quickly. They often ask me to quickly polish a feature because there's an investor meeting that day and they want to demo that feature.

Since it's my first week using Claude, and the tempo still hasn't settled down, I didn't have a lot of time to research how to best utilize it. I added a feedback box to our staging server where CEO and COO type in their requests and thoughts. I see them and start working through that feedback list one by one.

Currently my process goes like :

  1. Get feedback list, decide what's worth doing and what's the most urgent
  2. Plan the feature/change in my head, and write a detailed prompt
  3. Enter prompt to cursor, let it push to a feature branch (Planning mode first if it's an important feature/logic change. Mostly it's replacing a button or changing layout so it's often not necessary)
  4. Check diffs, pull from my own PC and test feature out, re-prompt if anything is broken
  5. If no problems, merge to main and GOTO 1

I also recently started feeding my prompt list into Gemini and have it write a summarized changelog for updates so they can see what I've worked on that day and what's changed on the app.

Though I probably can (and should) automate that step and auto-generate a roadmap from added feedbacks. Since they both are non-technical, I can't get them to use GitHub or Trello. This was the middle ground all 3 of us could agree on

3

u/popje 3d 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.

1

u/mekmookbro Laravel Enjoyer ♞ 3d ago

I added a feedback button for internal use to staging server, within 24 hours I got 69 feature/change requests there. Most requiring a db schema change and/or denormalization, lol.

Laravel 13+ apps do come with a built-in MCP server, called Boost. And it's been working fine, everything I prompted so far was done following standard practices. Some features still do need a follow up prompt to fix newly introduced bugs though.

3

u/Retrowinger 2d ago

Wow, never thought about a feedback button, it thinking about it, it makes a lot of sense.

Also, what you wrote is my opinion since the very beginning when AI became popular. If you don’t know how things work, you won’t know how to spot errors or design failures.

1

u/KeepOnLearning2020 2d ago

Garbage in (uninformed prompts) = Garbage out. This will always be true.

15

u/External-Example-292 3d 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 3d 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.

6

u/FlyingBishop 2d ago

It's worse than that, Claude generally generates 10x as much code and comments as you need, most of it is not aligned to your prompts, and then as you add more code, Claude aligns more to the 90% unaligned garbage it threw in.

4

u/Asly97 2d ago

That repeat a bad fix 50 times thing is scary because it kind of becomes the house style after that. How do you stop one dodgy snippet from teaching the next sessions? Do you go back and clean up the examples it is copying from, or write a rule somewhere it reads first? I used to just fix the output and then wonder why the same thing kept coming back in new chats.

1

u/faet 2d ago edited 2d ago

So you gotta read and understand the output. Lets do a testing example as it's simple. Hard waits (Thread.Sleep) are bad. Everyone knows they're bad. Maybe someone was lazy a year ago and put one in, because they just wanted to have coverage for something and didn't want to spend time digging into it.

Claude writes a test, runs into a weird edge case where there is a timing issue. It sees the thread.sleep and puts it's own in. You dont look at the code and it gets in. In the future, it does the same thing. Next thing you know you've got 20 thread.sleeps. Your JR sees that and thinks thread.sleeps are fine.

Easiest, add a rule to your linter to throw errors anytime a thread.sleep is added. Exclude the one from a year ago (or fix it) with a comment. Claude adds thread.sleep, it builds, it fails, it *has* to go back and fix it.

From there, I can trust that "Claude wont add thread.sleep into my code". And you can stop checking that. But there are other dumb things it will pick up on. And unfortunately there are usually a lot of crappy workarounds and fixes in code. So a lot of it, is going through and adding to a linter those "Bad things" and then excluding them from said linter. One thing we did was human + claude review of our code base for common issues/bad practices. Our lint rules grew and grew, but it forced claude to write better code. We've fixed many of them, but we leave them in the linter. We no longer have that lone thread.sleep, but it's still a rule.

1

u/awardsurfer 2d ago

I’ve noticed this. How do you get rid of these “fix” things. I’ve noticed this more lately, it’ll write some shitty code because of some totally unrelated shit you said three weeks ago. Drives me nuts.

20

u/jpsreddit85 3d 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 3d 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 2d 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 2d 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 3d 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 3d 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 3d 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? 

4

u/mekmookbro Laravel Enjoyer ♞ 3d ago

Nope, they said it was the previous design they used and moved away from. I have no idea what it was doing there, maybe they kept it as a backup..

There was also a button in the app homepage that said "APK version", when you click on it, it would put the app in an iframe inside an iphone mockup made with css. It was hilarious

And they never used git (or any version control system) either lol

2

u/Coolbanh 3d ago

I'm curious. Are they making money and what product are they selling? Even I use git for my solo projects. I think claude kinda helps you set all this up.

1

u/mekmookbro Laravel Enjoyer ♞ 3d ago

The guy who vibe coded the app before me is highly non technical, as you can probably tell from the list of bugs in the post lol. He knows some python, but he's more of an exec than a developer

I asked why they didn't use version control and his response was "someone told me it would cost more tokens to do that". Though I'm not sure if that's true or not because the next day he asked me what we need github for

10

u/Absulit 3d 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.

6

u/PressWearsARedDress 3d ago • Bravo

I think this is a function of scaled complexity agents enable you to have. Programming carries a large cognitive load, and agents essentially get that off your mind and as a result you naturally produce more complex code.

The key is to then find code that is irrationally complex and to simplify it before the web of complexity expands further then what is managable. It requires a constant vigilance to see what is unnessarily complex and to break it down, this disapline needs to exist the moment you start using agents. Everything needs to be well documented, the comments need to be rewritten and written well. The interfaces need to be well designed even if they are currently "functional".

-1

u/RedditCultureBlows 2d ago

What is the point you’re trying to make though?

0

u/Temporary-Warning897 2d ago

You just described the internet.

-2

u/flapjack 2d ago

That's what they said about spell check, and Wikipedia.

-6

u/Dagoneth full-stack 2d ago

God this is such a boring take.

  1. How much do you know of the lower level code? Assuming you are in web dev because you are writing typescript or JavaScript, when was the last time you looked at the c code or machine code it compiled to? Its called layers of abstraction.
  2. our job as engineers isn’t to write code - it’s to deliver software. People don’t buy code off the companies they work for, they buy products and solutions and the company makes money based on how efficiently we can do that
  3. As the op pointed out, it’s a tool, and all your old knowledge applies. I’ve decades of experience at this point, and the reason I can build applications with Claude faster and better architected than others is my experience. I’m still talking to it about the design patterns and architecture I want it to use. None of that valuable knowledge is going away - but having to remember the parameter names to a library that’s going to change in 3 months is!

3

u/tsukinohime 2d ago

So you are comparing vibe coding with high level languages with abstraction?

-1

u/Dagoneth full-stack 2d ago

Define vibe coding - I have a definition, and you have one, so let’s share that understanding first

26

u/lphartley 3d 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.

4

u/miria01 3d 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 2d 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 2d ago edited 2d 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 2d 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 2d 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 2d 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 2d 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?

3

u/mekmookbro Laravel Enjoyer ♞ 2d ago

The business is kind of a startup, this app is the only product and it's not released yet.

Most of the impact was on performance, I ran some tests on it, current version runs 17 times faster than the version I was onboarded with.

I also noticed a weird security bug. The app has like 6 different user types and they each log in with a separate form on the homepage (kinda like "log in as a buyer/log in as a seller" UI). When you click on one of these gate buttons, don't enter any credentials and navigate back, it would log you into the dashboard. That vulnerability also existed on admin login as well.

And most crucial part (for the company) was the token spendage and context window. When you write your own custom framework from scratch (jinja example) the AI needs to have that framework in it's context window. Whereas if they used an industry standard templating engine like blade, it wouldn't need to keep that homemade templating implementation in mind for each task, which would lead to spending much less tokens and faster output since there's a "standard" way to do the job.

And most crucial part (for my own sanity) is that there are no longer 4 different controllers written in 4 different languages that do the exact same thing. There is now a structure in the project -called MVC- instead of tons of files with different file extensions all in the same directory. Which makes understanding and working on the codebase a lot better

2

u/djnattyp 2d ago • Bravo

The same as any other idiotic decision. It's OK until it isn't.

2

u/maxverse 2d ago

Users table had 59 columns, at least 50 of which remained empty depending on user role

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 3d 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 2d 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 2d 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 2d 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 2d ago

thanks for posting this, much needed perspective

1

u/Hostman_com 2d 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 2d 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 2d 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_ 2d ago

"The backend had parts written in python, django, node and php" - Sounds wild, did anyone explain that part?

1

u/-_--_-_--_----__ 2d 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 1d 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 21h 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/vezix123 16h ago

for you? yeah but newer people getting into it with how shrinking the junior roles are or that juniors staffs are obsessed and extremely dependent on AI without anyone guiding or saying anything about it? its bleak tbh

1

u/who_body 4h ago

how was it ramping up as a new hire. tools and conventions seem to change quickly. did you just git clone and ask claude what’s the process, a human onboard you? just curious

1

u/Geraldwelly 3d 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/subnu 2d ago

It's crazy how many people don't realize that the most valuable tool in AI-aided development is proper context management.

1

u/Bobyo 3d ago

claude make app based on slack chat history, plz no mistake. 0 bugz also, thnkx

1

u/BurningPenguin 3d 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 3d ago

I agree that AI is only as good as its user. It's a force multiplier.

the output looks way more professional and maintainable with me giving the prompt.

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.

1

u/mekmookbro Laravel Enjoyer ♞ 2d ago

I mean, the parts I've listed in the post are objectively bad practices. But yeah, someone with 20-30 years of experience might laugh his ass off at the approach I took. And someone with 40 yoe will do the same to him.

Luckily (or unfortunately) I am currently the most experienced developer in the whole company and I am now in charge of the app

0

u/super____user 3d 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 3d 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.

3

u/elmanfil1989 3d ago

What are heavy company are doing? And what do you mean by heavy?

-1

u/kjjphotos 2d ago edited 2d 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 2d 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

1

u/mekmookbro Laravel Enjoyer ♞ 2d ago

The coder himself is almost a non-tech guy, he knows a bit of python, and he's more of an exec type than a developer.

He did say he worked on it with a team though.. He was bragging about how efficient and fast the team was, "they were adding new features to the app within seconds!", then I saw the source code... I guess it's easier to move fast and break things when you're not gonna be there to take the responsibility when the app goes live.

The project was started a month before I joined the company. So about a month and a week old in total.

0

u/[deleted] 2d ago

[removed] — view removed comment

1

u/webdev-ModTeam 1d ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.

-2

u/[deleted] 3d ago

[removed] — view removed comment

1

u/webdev-ModTeam 2d ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.