cm0002@lemmy.zip to Programmer Humor@programming.dev · 10 days agoMore code = more betterlemmy.zipimagemessage-square92linkfedilinkarrow-up1659
arrow-up1659imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 10 days agomessage-square92linkfedilink
minus-squaresquaresinger@lemmy.worldlinkfedilinkarrow-up1·7 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.