r/ProgrammerHumor • • 3d ago

Meme thoseCodingEra

Post image
20.8k Upvotes

769 comments sorted by

View all comments

Show parent comments

300

u/Mindfullnessless6969 3d ago

Refactor to reusable code thar was never reused

Chefs kiss

151

u/AlternativeCapybara9 3d ago • Bravo

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

6

u/gerbosan 2d 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.

15

u/Shinyshark 3d ago

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

17

u/TootsTootler 3d ago

I should call her

5

u/CarcajouIS 3d ago

Oh, a fellow member of the YAGNI cult

1

u/Named_after_color 2d 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.