irelephant 🍭@lemm.ee to Programmer Humor@programming.devEnglish · 1 month agolooks good to melemm.eeimagemessage-square49fedilinkarrow-up1767arrow-down18cross-posted to: programmerhumor@lemmy.ml
arrow-up1759arrow-down1imagelooks good to melemm.eeirelephant 🍭@lemm.ee to Programmer Humor@programming.devEnglish · 1 month agomessage-square49fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareskuzz@discuss.tchncs.delinkfedilinkarrow-up3·1 month agoWorks so well, and soothes the warning annoyance brain, and keeps warnings from eventually becoming errors.
minus-squarepscamodio@feddit.itlinkfedilinkarrow-up3·1 month agoIn a codebase with a lot of warnings is even better for me to add a disable comments for all the existing warning and then not allow any new one in. And then each time a part of the code needs to be touched the existing warning there should be solved too.
minus-squarejjjalljs@ttrpg.networklinkfedilinkarrow-up2·1 month agoSeveral times I’ve set the max warnings to whatever the current warning count is, and then decreased that over time.
Works so well, and soothes the warning annoyance brain, and keeps warnings from eventually becoming errors.
In a codebase with a lot of warnings is even better for me to add a disable comments for all the existing warning and then not allow any new one in.
And then each time a part of the code needs to be touched the existing warning there should be solved too.
Several times I’ve set the max warnings to whatever the current warning count is, and then decreased that over time.