esa@discuss.tchncs.de to Programming@programming.devEnglish · 1 year agoParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comexternal-linkmessage-square13linkfedilinkarrow-up143
arrow-up143external-linkParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comesa@discuss.tchncs.de to Programming@programming.devEnglish · 1 year agomessage-square13linkfedilink
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up1·1 year agoC supports passing structs around by value, so there was no need to allocate memory for it on the heap.
C supports passing
structs around by value, so there was no need to allocate memory for it on the heap.