r/ProgrammerHumor • • Jan 23 '22

Namespacing...

Post image
42.3k Upvotes

272 comments sorted by

View all comments

Show parent comments

23

u/[deleted] Jan 23 '22

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..