esa to Programming@programming.devEnglish · 1 year agoParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comexternal-linkmessage-square14linkfedilinkarrow-up145arrow-down11cross-posted to: hackernews@lemmy.bestiver.se
arrow-up144arrow-down1external-linkParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comesa to Programming@programming.devEnglish · 1 year agomessage-square14linkfedilinkcross-posted to: hackernews@lemmy.bestiver.se
minus-squareMagiilaro@feddit.orglinkfedilinkarrow-up3·1 year agoI prefer to do both, a validation check to see if it has the general form of data I expect then parse what got successfully validated.
I prefer to do both, a validation check to see if it has the general form of data I expect then parse what got successfully validated.