da_cow (she/her)@feddit.org to Programmer Humor@programming.dev · 1 month agoI got to avoid memory management for quite some timefeddit.orgimagemessage-square65fedilinkarrow-up1345arrow-down112file-text
arrow-up1333arrow-down1imageI got to avoid memory management for quite some timefeddit.orgda_cow (she/her)@feddit.org to Programmer Humor@programming.dev · 1 month agomessage-square65fedilinkfile-text
Finally I have a valid reason to learn about memory management. It was also hella weird when encountering it.
minus-squareozymandias117@lemmy.worldlinkfedilinkEnglisharrow-up6·1 month agoAnd understand when you can use them… I’ve seen too much code following this advice blindly that just does something like strncpy(dst, src, strlen(src))
And understand when you can use them…
I’ve seen too much code following this advice blindly that just does something like
strncpy(dst, src, strlen(src))