DEV Community

Discussion on: Spaghetti code

Collapse
 
nombrekeff profile image
Keff

I feel you, man...

I've been in this situation for more than 2 years and still haven't been able to fully refactor the app.

We calculated the tech dept for the project, it was something like 3.6yrs for a 1yr old project... crazy...

Since this project, I've been really appreciative of good code and design patterns, and try and make mine as good as possible so the next person won't need to go over all the shit I had to deal with in this project.

One thing worth mentioning is, that we can only assume why the project became that way. Our first instinct would be giving shit to the previous devs... but maybe they were forced into working this way, maybe short deadlines, maybe bad communication, maybe the app was badly designed from the getgo... maybe the management was not appropriate... etc...

Collapse
 
bahachammakhi profile image
Baha chammakhi

Thats what happened to me since i spent a lot of time refactoring this application I just made a decision to never write code to just make something functional.
Off its not always devs fault as you said deadlines makes you write bad code too.