@[email protected] to [email protected] • 7 months agoc postinglemmy.worldimagemessage-square19arrow-up1141arrow-down111
arrow-up1130arrow-down1imagec postinglemmy.world@[email protected] to [email protected] • 7 months agomessage-square19
minus-square@[email protected]linkfedilink2•7 months agoCan we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?
minus-square@[email protected]linkfedilink5•7 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.