da_cow (she/her)@feddit.org to Programmer Humor@programming.dev · 2 months agoI got to avoid memory management for quite some timefeddit.orgimagemessage-square65fedilinkarrow-up1345arrow-down113file-text
arrow-up1332arrow-down1imageI got to avoid memory management for quite some timefeddit.orgda_cow (she/her)@feddit.org to Programmer Humor@programming.dev · 2 months 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·2 months 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))