this post was submitted on 23 Feb 2024
4 points (100.0% liked)

pissposting

1136 readers
94 users here now

Piss tier memes, lower than shitposts. Brain damaging stuff.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Cerise_W@lemmy.world 0 points 8 months ago (1 children)

Can we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?

[โ€“] Deuces@lemmy.world 1 points 8 months ago

Avoiding global variables is just something dumb people do to protect themselves. Real programmers declare every variable before Main.