Owen on Nostr: Programmers out there: can I safely assume that you were drilled on the idea that ...
Programmers out there: can I safely assume that you were drilled on the idea that global variables have a bunch of unpleasant side effects on the design of your programs, and that you should avoid them, however it is that you learned to program?
Or is my expectation that this is widespread advice more idiosyncratic to my own experiences than I realize?
Published at
2025-03-05 18:39:32 UTCEvent JSON
{
"id": "0568e53f0dd31d06cb764f7aba4bb78a39ff5b6450682e3a831818294e6edef7",
"pubkey": "65829917650d5ddcab960ad2b8ec184bb3367dcb943493da4194caf93b807884",
"created_at": 1741199972,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.transneptune.net/@owen/114111281429402574",
"web"
],
[
"proxy",
"https://mastodon.transneptune.net/users/owen/statuses/114111281429402574",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.transneptune.net/users/owen/statuses/114111281429402574",
"pink.momostr"
],
[
"-"
]
],
"content": "Programmers out there: can I safely assume that you were drilled on the idea that global variables have a bunch of unpleasant side effects on the design of your programs, and that you should avoid them, however it is that you learned to program?\n\nOr is my expectation that this is widespread advice more idiosyncratic to my own experiences than I realize?",
"sig": "c894faec0cfb6e47f1cb266729d93972327fb63746d5de06eb16059c332522639c3c8eab82f93ed75f5e7679a4c562f33c2db5a2ef7ea2a00d118f7a03bba6ca"
}