stackPeek@lemmy.world to pissposting@lemmy.world · 2 years agoc postinglemmy.worldimagemessage-square20fedilinkarrow-up1143
arrow-up1143imagec postinglemmy.worldstackPeek@lemmy.world to pissposting@lemmy.world · 2 years agomessage-square20fedilink
minus-squareCerise_W@lemmy.worldlinkfedilinkarrow-up2·2 years 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·2 years 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.