stackPeek@lemmy.world to pissposting@lemmy.world · 9 months agoc postinglemmy.worldimagemessage-square13fedilinkarrow-up1139arrow-down110
arrow-up1129arrow-down1imagec postinglemmy.worldstackPeek@lemmy.world to pissposting@lemmy.world · 9 months agomessage-square13fedilink
minus-squareCerise_W@lemmy.worldlinkfedilinkarrow-up2·9 months agoCan we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?
minus-squareDeuces@lemmy.worldlinkfedilinkarrow-up5·9 months agoAvoiding global variables is just something dumb people do to protect themselves. Real programmers declare every variable before Main.
Can we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?
Avoiding global variables is just something dumb people do to protect themselves. Real programmers declare every variable before Main.