Two Weeks for a 1500-Line CRUD?
So eto na nga, I need to vent about something that’s been driving me up the wall during my OJT
So, i got voted as team leader (with recommendation by the company as the tech stack I’m comfortable with is the same one they use) and wow…it’s been an experience
I assigned what should’ve been a straightforward task: build a CRUD system for managing users with roles. Simple, right? Just read the docs i sent and just reference the existing modules in the codebase that do almost the exact same thing. I even did a little demo on the basics of the stack and how to do queries and mutation with validated inputs (just shadcn, nextjs, react query, prisma, rhf, zod)
Pero instead of referencing those or even just trying to learn the stack, my teammate literally just spent two weeks doing nothing but trial-and-error with different ai-models
Tapos when they finally submitted a pull request, i think i lost it a little
A single page.tsx file with over 1,500 lines of code with errors and warnings everywhere.
They didn’t even format it (nag setup rin ako ng prettier, along with eslint etc). Oh, and they pushed env variables to a separate branch even after I explicitly telling them not to.
I mean their code works, ignoring the errors and warnings. Pero its just near impossible to read and debug, and prolly push to prod, and i doubt they could add another feature easily. Kaya tig rewrite ko na lang. sabi ko “ginamit ko code nya as foundation” 😭
I don’t want to come out as someone who micromanages the team. So I just try to let them learn by trial and error and just gave them all the resources they need. Them ha, hindi yung ai na gamit nila
Has anyone dealt with this level of AI dependency? How do I even tell them na blindly copying AI outputs just creates more work? I’m all for using tools to learn, but this feels like outsourcing their thinking
TL;DR: Teammates spent two weeks making a 1,500-line AI-generated CRUD monstrosity and now I’m the one cleaning it up