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

pissposting

1126 readers
4 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
[โ€“] [email protected] 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?

[โ€“] [email protected] 0 points 8 months ago

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