willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 11 months agoLeave it alonelemmyf.ukimagemessage-square56fedilinkarrow-up1818arrow-down131
arrow-up1787arrow-down1imageLeave it alonelemmyf.ukwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square56fedilink
minus-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up7·11 months 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·11 months 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·11 months agoThen you’re not done refactoring ;)
minus-squareDa_Boom@iusearchlinux.fyilinkfedilinkEnglisharrow-up2·11 months 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 🥹