this post was submitted on 23 Feb 2024
130 points (92.8% liked)

pissposting

1178 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 2 points 10 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 5 points 10 months ago

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