stackPeek@lemmy.world to pissposting@lemmy.world · 1 year agoc postinglemmy.worldimagemessage-square20fedilinkarrow-up1106arrow-down18
arrow-up198arrow-down1imagec postinglemmy.worldstackPeek@lemmy.world to pissposting@lemmy.world · 1 year agomessage-square20fedilink
minus-squareCerise_W@lemmy.worldlinkfedilinkarrow-up0·1 year 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-up3·1 year 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.