Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
bibibiu146yI'm actually contemplating rewriting it from scratch cause what I've inherited doesn't even run.
-
7Raiden8756yThe bits and pieces that I can I rewrite them from scratch, the others I just use adapters/bridges to the older API
-
rui9024216yWorked on top of the shitty codebase and architecture and made it less shitty one step at a time, but never really making it not shitty because that's most likely impossible 😅
-
C0D4669026yYes. All the time 😢
You focus on a single piece of functionality or feature and rewrite it.
Slowly you move across the entire project and get it to a point you feel remotely proud off. It’s along journey and no one will respect it as nothing has changed “technically” but you will feel a great sense of achievement at the end of it. -
bibibiu146y@M1sf3t 🤣. But I'm slightly nervous since it is my first job as a junior dev on this start up and it looks like I'll be the only one working with the code base.
-
nibor48136yYou gradually rewrite it, one piece of functionality at a time, adding unit tests as you go. You continue this until you move onto another project. Then a new dev takes over, decides the entire code base is shit, and starts rewriting your rewrites. And so it goes on, forever and ever.
-
thumbcore546yBeing a new dev, I've been worried I'm going to be leaving garbage code behind.
We don't do code reviews. I've asked for them. Multiple times. Nobody has the time apparently. More fun to watch stuff break and then slowly turn to the author (>> me <<), I guess. -
tuc0w3086yGot the same shit over here, rewriting every module after module as soon as I have to touch them. Apparently there's no other way since the product is already in production and rewriting everything at once would easily break a lot
-
do some bullshit refactor, abandon it halfway through? start another refactor, leave it worse than how you received it
also cry, I adhere to the crying
Have you ever inherited a really shitty code base and what did you do about it?
question