19
submitted 6 days ago* (last edited 6 days ago) by CanadaPlus@lemmy.sdf.org to c/programming@beehaw.org

Refactoring gets really bad reviews, but from where I'm sitting as a hobby programmer in relative ignorance it seems like it should be easier, because you could potentially reuse a lot of code. Can someone break it down for me?

I'm thinking of a situation where the code is ugly but still legible here. I completely understand that actual reverse engineering is harder than coding on a blank slate.

you are viewing a single comment's thread
view the rest of the comments
[-] t3rmit3@beehaw.org 5 points 5 days ago

My current team has had a great solution to this, which is to re-build in parallel. Build the new system alongside the old one, including the reporting and integrations. You'll find the edge cases pretty quickly.

[-] CanadaPlus@lemmy.sdf.org 2 points 5 days ago

So how is that different from refactoring?

this post was submitted on 19 Dec 2024
19 points (100.0% liked)

Programming

13405 readers
2 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS