@stackPeek@lemmy.world to pissposting@lemmy.world • 4 months agoc postinglemmy.worldimagemessage-square19fedilinkarrow-up1140
arrow-up1140imagec postinglemmy.world@stackPeek@lemmy.world to pissposting@lemmy.world • 4 months agomessage-square19fedilink
minus-square@Cerise_W@lemmy.worldlinkfedilink2•4 months agoCan we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?
minus-square@Deuces@lemmy.worldlinkfedilink5•4 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.