devilish666@lemmy.world to Programmer Humor@lemmy.ml · 11 months agoAaargh....my eyes......my eyes......lemmy.worldimagemessage-square75fedilinkarrow-up1576
arrow-up1564imageAaargh....my eyes......my eyes......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 11 months agomessage-square75fedilink
minus-squarehstde@feddit.delinkfedilinkarrow-up70arrow-down2·11 months agoThis is something that can easily get refactored, because the purpose of alia the variables is right there in the name. This is way better that spending three days to try to figure out what the purpose of var1 is.
minus-square𝓹𝓻𝓲𝓷𝓬𝓮𝓼𝓼@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up6·11 months agooh such hope in a week IntegerThatTracksOneThingForOnePurpose will be an object tracking 30% of the game state and mutated in 15 places without ever being renamed
This is something that can easily get refactored, because the purpose of alia the variables is right there in the name. This is way better that spending three days to try to figure out what the purpose of var1 is.
oh such hope
in a week
IntegerThatTracksOneThingForOnePurpose
will be an object tracking 30% of the game state and mutated in 15 places without ever being renamed