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.
8 Comments
arschflugkoerper@feddit.org · 24 pts · 1y
Every day devs fight the urge to refactor everything.
SeductiveTortoise@piefed.social · 18 pts · 1y
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 đź’–
balsoft@lemmy.ml · 7 pts · 1y
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).
squaresinger@lemmy.world · 2 pts · 1y
The best thing is if you figure out that a whole loop is actually unnecessary and you can up efficiency by a whole order.
bleistift2@sopuli.xyz · 2 pts · 1y
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.
flambonkscious@sh.itjust.works · 4 pts · 1y
What is this ...an accountability request???
dullbananas@lemmy.ca · 3 pts · 1y
This code is garage.
lessthanluigi@lemmy.sdf.org · 1 pts · 1y
Regan the true tech bro