Zangoose@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agothe myth of type safetylemmy.worldimagemessage-square20fedilinkarrow-up1235arrow-down120
arrow-up1215arrow-down1imagethe myth of type safetylemmy.worldZangoose@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square20fedilink
minus-square0xSim@fedia.iolinkfedilinkarrow-up54·1 year 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
unknown
instead ofany
for more sensitive parts, it will force you to typecheck.