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.
1 view
88
22
2 months ago 00:00:00 1
La Matinale 07/01 : la guerre peuple/élites fait rage partout en Occident !
3 months ago 00:03:07 1
Two Faced (Official Music Video) - Linkin Park
4 months ago 00:57:07 1
How the pro-Israel lobby influences US policy during Gaza war | Stephen Walt | Real Talk
4 months ago 01:32:51 1
MAROC-ALGÉRIE : MACRON CHOISIT SON CAMP / « AGRESSIONS SEXUELLES » : DEPARDIEU « FUIT » SON PROCÈS
4 months ago 00:06:20 1
Are you following your dreams? ⏲️ 6 Minute English
4 months ago 00:06:20 1
The benefits of doing nothing ⏲️ 6 Minute English
4 months ago 01:08:48 1
The Economy of Tomorrow | Aging Future | Documentary Economy
4 months ago 00:02:45 1
FNF - Friday Night Funkin’: Pibby Corrupted 1.5 - Wish Come True (FC)
4 months ago 00:10:32 1
Starmer’s Pro Israel Excuses Hit A SHAMELESS New Low!
4 months ago 00:02:58 1
Israel-Hamas: Gaza’s quality of life has been knocked back to 1950s, UNDP says
4 months ago 00:20:13 1
What Is the Informal Economy? & Sustainable Space Exploration | WEF | Top Stories of the Week
4 months ago 00:02:06 5
Asia | First Look ft SEVENTEEN - BBC
4 months ago 00:08:27 1
Тактика бега на 3 км. Как правильно разложить силы в беге на 3 км
4 months ago 02:02:01 1
Watch: How did the Conservative leadership contestants perform?