stackPeek@lemmy.world to pissposting@lemmy.world · 6 months agoc postinglemmy.worldimagemessage-square19fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagec postinglemmy.worldstackPeek@lemmy.world to pissposting@lemmy.world · 6 months agomessage-square19fedilink
minus-squareCerise_W@lemmy.worldlinkfedilinkarrow-up0·6 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-up0·6 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.