cm0002@lemmy.zip to Programmer Humor@programming.dev · 5 days agoMore code = more betterlemmy.zipimagemessage-square94linkfedilinkarrow-up1656arrow-down116
arrow-up1640arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 5 days agomessage-square94linkfedilink
minus-squaresquaresinger@lemmy.worldlinkfedilinkarrow-up1·2 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.