this post was submitted on 23 Feb 2024
129 points (92.7% liked)

pissposting

969 readers
1 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 2 points 7 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 5 points 7 months ago

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