cm0002@lemmy.zip to Programmer Humor@programming.dev · 5 days agoMore code = more betterlemmy.zipexternal-linkmessage-square93fedilinkarrow-up1650arrow-down116
arrow-up1634arrow-down1external-linkMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 5 days agomessage-square93fedilink
minus-squaresquaresinger@lemmy.worldlinkfedilinkarrow-up1·3 days agoI wasn’t going to, and after I saw it it totally makes sense that it’s possible, it just never occurred to me. I guess this could be used like static variables inside functions in c. So scope-limited global variables. Not a good design choice in most cases.
I wasn’t going to, and after I saw it it totally makes sense that it’s possible, it just never occurred to me.
I guess this could be used like static variables inside functions in c. So scope-limited global variables. Not a good design choice in most cases.