r/ProgrammerHumor • • 16d ago

Meme thoseCodingEra

Post image
24k Upvotes

820 comments sorted by

View all comments

Show parent comment

334

u/Mindfullnessless6969 16d ago

Refactor to reusable code thar was never reused

Chefs kiss

175

u/AlternativeCapybara9 15d ago • Bravo

We didn't refactor because it was needed now but for the dreams we had of what our app could become.

9

u/gerbosan 15d ago

Sounds like overengineering with extra steps.

*sigh a t this point, it no longer feels strange to me to work with agents the way I do. It's certainly ineficient, but that's simply the result of lack of prior knowledge and a sense of curiosity; I'm looking to improve the process rather than just get it done quickly.

16

u/Shinyshark 16d ago

I would only refactor to reusable if multiple things were using it in roughly the same way

17

u/TootsTootler 15d ago

I should call her

7

u/CarcajouIS 15d ago

Oh, a fellow member of the YAGNI cult

1

u/Named_after_color 15d ago

I refactored a generic repository dto mapper to reusable code that was inherited by everything afterwards. It's my file baby. If claude touches it I'm burning everything to the ground.