143
Refactor Man (1 Aug 2017) (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Sylvartas@lemmy.world 2 points 8 months ago* (last edited 8 months ago)

He just like me fr

(I have recently been tasked with updating some pretty important, "legacy" code. I knew I was looking at upwards of a full day of work after ripping out the tangled mess of technical debt that relied on this code just to get the damn thing to compile again, but it was still painful. And I'm only like halfway there now that I'm done with this step)

NGL though, it felt great looking at my diff of the main source file for this code and see it melted from 750+ lines of wrappers and boilerplate bullshit to 250 lines of almost minimalistic, mostly self documented code that achieves the same things as the old one and more, but better.

this post was submitted on 16 Feb 2024
143 points (98.6% liked)

MonkeyUser

213 readers
1 users here now

A community for sharing and discussing the monkeyuser comic! https://www.monkeyuser.com/

Looking for mods, if you want to mod the community feel free to dm Ategon

founded 10 months ago
MODERATORS