You’re supposed to fix That Bug. That’s it. But the code is so ugly. Oh my gosh no wonder they wrote a bug here. I should tidy up. I’ll fix the “broken windows” while I’m here. Refactor this name to be more descriptive. DRY up these three methods into one. Leave a comment. There, bug fixed and I left the code cleaner than I found it. I’m such a good boy.
Don't (also) fix broken windows
Don't (also) fix broken windows
Don't (also) fix broken windows
You’re supposed to fix That Bug. That’s it. But the code is so ugly. Oh my gosh no wonder they wrote a bug here. I should tidy up. I’ll fix the “broken windows” while I’m here. Refactor this name to be more descriptive. DRY up these three methods into one. Leave a comment. There, bug fixed and I left the code cleaner than I found it. I’m such a good boy.