esa@discuss.tchncs.de to Programming@programming.devEnglish · 25 days agoParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comexternal-linkmessage-square14linkfedilinkarrow-up145arrow-down11
arrow-up144arrow-down1external-linkParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comesa@discuss.tchncs.de to Programming@programming.devEnglish · 25 days agomessage-square14linkfedilink
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up1·22 days agoC supports passing structs around by value, so there was no need to allocate memory for it on the heap.
C supports passing
struct
s around by value, so there was no need to allocate memory for it on the heap.