r/ProgrammerHumor • • Sep 23 '22

Refactoring "Just working solution ".

Post image
54.8k Upvotes

355 comments sorted by

View all comments

1

u/prof_hobart Sep 23 '22

If it works and meets all of the functional and non-functional requirements, then don't refactor it.

The only two possible outcomes are

  • it still meets all functional and non-functional requirements - well done, you've spent time achieving nothing

  • it no longer works - take a long hard look at yourself in the mirror