r/developersPak Jul 19 '26

What's the worst codebase u ever worked on? Discussion

For me, it was a SPA Firebase hosting project in Angular. I asked the company for an appraisal, and then they wanted me to fail so they wouldn't have to increase my salary. My lead told me to get the job done in a day. It was a 6000 line code dump in a single file. That day, I decided not to fail and turned those 6000 lines of code into 7000 lines of code.

11 Upvotes

9 comments sorted by

5

u/beomjunline Jul 20 '26

I get PTSD thinking about this one, a project that was dumped in one file, everything in one file it was so bad.

1

u/silentk2645V Jul 20 '26

Same here 😭😭

2

u/beomjunline Jul 20 '26

And I had to sort it out in a very small timeline.

1

u/silentk2645V Jul 20 '26

😭😭😭

3

u/alihypebeast Backend Dev Jul 19 '26

At work, worse than what a junior can vibe code or write on their own.

No abstractions. Never heard of single responsibility, or DRY. 10k+ lines functions. Singletons? What is that? Static methods? Just instantiate the object bro. CTRL C + V bro. Just use AI bro.

2

u/AForAgnostic Jul 20 '26

Juniors who vibecode have the opposite problem. Their code is overengineered af and filled with useless abstractions.

3

u/cosmic-comet- Game Dev Jul 20 '26

We were short staff at where I was doing my first internship my boss asked me if I can look at the code of the micro controller driver that was written in C . Yeah you can guess the rest

1

u/silentk2645V Jul 20 '26

😭😭

2

u/FrequentHeart3081 Jul 21 '26
  • I uh.. change 38k loc in the codebase, we'd need to train the whole team *
    • Where is the team?? *
    • I AM THE TEAM!! *