Eggs. . khy WIFE SAID PLEASE an to In STORE AND am A cw Mlik. AND IF mar EGGS. GET six." l CAME BACK WITH 6 ) an Mans. SHE ''% r IN THE HEM am You MAO EGGS". if(eggs == true) { milk = 6 } else { milk = 1 }
x
Click to expand
What do you think? Give us your opinion. Anonymous comments allowed.
#5 - paranoidweazle (10/12/2013) [+] (26 replies)
if(eggs == true)
{
milk = 6
}
else
{
milk = 1
}
User avatar #1 - Xii (10/11/2013) [+] (1 reply)
The joke is about a programmer because the if condition would be completed and he would therefore have to get 6
+9
#28 - mytwocents has deleted their comment [+] (13 replies)
#9 - HobbsBear (10/12/2013) [+] (9 replies)
This is totally wrong syntaxically.... he would still be getting Eggs.

milk = 1;
if(store.hasProperty(eggs){
eggs = 6;
}

She said to get milk, and then to check for eggs. If Eggs exist, get six. If the actual scenario were to unfold, you would see something like...

milk = 1;
if (store.hasProperty(eggs){
milk += 6;
}

So even if he WAS being an annoying smartass, he would have gotten SEVEN things of milk, because she said to get one, and then if they have eggs, get six... as in get six more.

**** you fake coders.

SYNTAX NAZI.... We are the S.S. of the Grammar Nazis, the Syntax Savers
#12 to #9 - Neodude (10/12/2013) [-]
Actually, if would be
milk = 6, not +=. She said get six, not get six more. She did not declare to add six to the milk already bought.
User avatar #45 - whiplasher (10/12/2013) [+] (2 replies)
if ($eggs == true)
{
$milk = 6
}
else
{
$milk = 1
}

at least that's what I remember from those PHP lessons...
User avatar #57 - mycatislookingatme (10/12/2013) [+] (1 reply)
WHAT IS WITH ALL THIS ******* MATHS?

I THOUGHT THIS JOKE WAS A ******* WORDPLAY.
#3 - I Am Monkey (10/11/2013) [-]
This guy knows what he's talking about
#37 - SILENCEnight (10/12/2013) [-]
**SILENCEnight rolled a random image posted in comment #96195 at Social Board ** grammar checks out, it was the wife's fault.
#58 - Ken M (10/12/2013) [+] (1 reply)
Moral of the story: Don't marry an autistic guy.
...or a guy who doesn't know how the appropriate times to use programming logic and real life logic.
User avatar #53 - andrewjla (10/12/2013) [-]
how many times do we have to see the same old joke on here?
User avatar #18 - anunamoose (10/12/2013) [-]
He bought 6 cartons of milk? That sounds like an eggaggeration.
 Friends (0)