Programmer thinking 😂 #english #programming #programmer #englishlanguage

How Mike interpreted this: If the condition (the store has eggs) is true, then perform the action “get six.“ The action “get six“ is ambiguously linked to the first part of the instruction (buying milk), because the object (milk or eggs) isn’t repeated for the second part of the instruction. So when the store had eggs, Mike, following the instructions literally, bought six of the previously mentioned item, which was milk. Yeah, Mike is a programmer 😅 A non-programmer would typically understand that “get six“ referred to the eggs, not the milk, because humans often rely on context and implied meanings in communication, while a computer—or a programmer thinking like a computer—requires explicit instructions.
Back to Top