Honestly, yes. I have days when I want to code something new and experiment, and days when I just want to drudge through existing code and carefully refactor/clean up so that it still works (or even works better in some cases).
Well, in that particular case I have a function that’s going to be needed in multiple places defined in a single 160-character line inside another function.
Every day devs fight the urge to refactor everything.
I don’t fight it. I have a small project that’s completely fucked up, and I refactor it a little every day as a treat. So relaxing 💖
Honestly, yes. I have days when I want to code something new and experiment, and days when I just want to drudge through existing code and carefully refactor/clean up so that it still works (or even works better in some cases).
Well, in that particular case I have a function that’s going to be needed in multiple places defined in a single 160-character line inside another function.