Zangoose@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agothe myth of type safetylemmy.worldimagemessage-square12linkfedilinkarrow-up1157
arrow-up1157imagethe myth of type safetylemmy.worldZangoose@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square12linkfedilink
minus-square0xSim@fedia.iolinkfedilinkarrow-up8·2 years agoThe boy scout technique: fix your types when you’re working on a bug or a feature, one file at a time. Also try to use unknown instead of any for more sensitive parts, it will force you to typecheck.
The boy scout technique: fix your types when you’re working on a bug or a feature, one file at a time. Also try to use
unknowninstead ofanyfor more sensitive parts, it will force you to typecheck.