willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 11 months agoLeave it alonelemmyf.ukimagemessage-square56fedilinkarrow-up1825arrow-down131cross-posted to: [email protected]
arrow-up1794arrow-down1imageLeave it alonelemmyf.ukwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square56fedilinkcross-posted to: [email protected]
minus-squaretsonfeir@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-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 🥹