willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoLeave it alonelemmyf.ukimagemessage-square56fedilinkarrow-up1824arrow-down131
arrow-up1793arrow-down1imageLeave it alonelemmyf.ukwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square56fedilink
minus-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up7·1 year agoI’m a big fan or refactoring and rewriting my code as often as I can. Not only does it keep my brain “on topic” but it allows me to make major improvements. Nothing will ever be perfect. Just try to leave it in a better state than it was before.
minus-squareDa_Boom@iusearchlinux.fyilinkfedilinkEnglisharrow-up4·1 year agoAt least untill you refactor something, and the act of refactoring, even though it shouldn’t logically cause any problems, causes everything to break.
minus-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up5·1 year agoThen you’re not done refactoring ;)
minus-squareDa_Boom@iusearchlinux.fyilinkfedilinkEnglisharrow-up2·1 year agoThough usually not long after that point you start to ask yourself “Why the fuck did I get myself into this mess”
I’m a big fan or refactoring and rewriting my code as often as I can. Not only does it keep my brain “on topic” but it allows me to make major improvements. Nothing will ever be perfect. Just try to leave it in a better state than it was before.
At least untill you refactor something, and the act of refactoring, even though it shouldn’t logically cause any problems, causes everything to break.
Then you’re not done refactoring ;)
Though usually not long after that point you start to ask yourself “Why the fuck did I get myself into this mess”
That’s ever day of my life 🥹