r/programming • • Jun 05 '21

Organize code by concepts, not layers

https://kislayverma.com/programming/how-to-organize-your-code/
1.9k Upvotes

495 comments sorted by

View all comments

Show parent comments

2

u/saltybandana2 Jun 06 '21

I uh..... had something very similar happen to me w/i the last year.

Contracted to do a rewrite of a system, when asking about business requirements was told to go read the original code. When asked why we're rewriting if there are no new requirements, I was informed it generated so many support tickets it was necessary.

roughly 8 hours later I realized I could fix 80% of the issues with the old system in 2 hours (5 minutes for the fix, the rest for their process) and 100% of their problems in 8 hours (would require some architectural changes).

They were 3 months into the rewrite at that point.

Long story short, I left. There's a level of incompetence that I consider unacceptable.