I am so horribly stoned right now and I thought I had to tell you guys what just happened before I forgot. It's really just funny when you think about it knowing that I am stoned but also a geek. Cause normally nobody would ever think of something like this.
So I was just explaining that the overall stench in our kitchen (my roommates are horribly lazy when it comes to washing dishes) existed also in every cupboard in the room. Then I was like "Well it's kinda like a declaration of a global constant called stench and the kitchen is your environment... so that's why a global would make it stink everywhere. Or it could be a global boolean that is switched after somebody cleaned the kitchen." WTF?
So I was just explaining that the overall stench in our kitchen (my roommates are horribly lazy when it comes to washing dishes) existed also in every cupboard in the room. Then I was like "Well it's kinda like a declaration of a global constant called stench and the kitchen is your environment... so that's why a global would make it stink everywhere. Or it could be a global boolean that is switched after somebody cleaned the kitchen." WTF?