Solrac@quokk.au to Programmer Humor@programming.devEnglish · 3 days agoIs my fear of C/++ Justified?quokk.auimagemessage-square38linkfedilinkarrow-up1195arrow-down15file-text
arrow-up1190arrow-down1imageIs my fear of C/++ Justified?quokk.auSolrac@quokk.au to Programmer Humor@programming.devEnglish · 3 days agomessage-square38linkfedilinkfile-text
minus-squareNateNate60@lemmy.worldlinkfedilinkarrow-up1·1 day agoBecause you don’t know whether you’ve actually type-checked everything and that your inputs are safely parsed. Part of defensive programming is to adopt multiple defences to prevent bad data from getting through, including avoiding ==.
Because you don’t know whether you’ve actually type-checked everything and that your inputs are safely parsed. Part of defensive programming is to adopt multiple defences to prevent bad data from getting through, including avoiding ==.