Solrac@quokk.au to Programmer Humor@programming.devEnglish · 6 days agoIs my fear of C/++ Justified?quokk.auimagemessage-square38fedilinkarrow-up1198arrow-down15file-text
arrow-up1193arrow-down1imageIs my fear of C/++ Justified?quokk.auSolrac@quokk.au to Programmer Humor@programming.devEnglish · 6 days agomessage-square38fedilinkfile-text
minus-squareNateNate60@lemmy.worldlinkfedilinkarrow-up1·4 days 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 ==.