cm0002@lemmy.zip to Programmer Humor@programming.dev · 4 days agoMore code = more betterlemmy.zipimagemessage-square93fedilinkarrow-up1649arrow-down116
arrow-up1633arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 4 days agomessage-square93fedilink
minus-squaresquaresinger@lemmy.worldlinkfedilinkarrow-up1·1 day 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.