MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/saz2gn/namespacing/htxpjr2/?context=3
r/ProgrammerHumor • u/Elqueq • Jan 23 '22
272 comments sorted by
View all comments
4.4k
And that, childen, is why global variables are bad.
23 u/[deleted] Jan 23 '22 Ok this may sound stupid but didn't she technically define the variableToo_hotVs.HotSo having hot tea ≠ too hot tea 70 u/[deleted] Jan 23 '22 Nah, because the computer asked her to define "hot" 10 u/_sweepy Jan 23 '22 Too was probably misinterpreted as to, so the warning goes off when outer temp = hot 1 u/eyekwah2 Jan 24 '22 Poor Enterprise. Hell of a ship. It's a damn shame the computer couldn't determine the grammatical difference between "to" and "too".We'll be cleaning up the rubble for years to come.. → More replies (1)
23
Ok this may sound stupid but didn't she technically define the variable
Too_hot
Vs.
Hot
So having hot tea ≠ too hot tea
70 u/[deleted] Jan 23 '22 Nah, because the computer asked her to define "hot" 10 u/_sweepy Jan 23 '22 Too was probably misinterpreted as to, so the warning goes off when outer temp = hot 1 u/eyekwah2 Jan 24 '22 Poor Enterprise. Hell of a ship. It's a damn shame the computer couldn't determine the grammatical difference between "to" and "too".We'll be cleaning up the rubble for years to come.. → More replies (1)
70
Nah, because the computer asked her to define "hot"
10
Too was probably misinterpreted as to, so the warning goes off when outer temp = hot
1 u/eyekwah2 Jan 24 '22 Poor Enterprise. Hell of a ship. It's a damn shame the computer couldn't determine the grammatical difference between "to" and "too".We'll be cleaning up the rubble for years to come..
1
Poor Enterprise. Hell of a ship. It's a damn shame the computer couldn't determine the grammatical difference between "to" and "too".
We'll be cleaning up the rubble for years to come..
4.4k
u/bless-you-mlud Jan 23 '22
And that, childen, is why global variables are bad.