A wife tells her programmer husband: “Go to the store and buy a gallon of milk. If they have eggs, get six.”
He comes back with six gallons of milk. When she asks why, he replies: “They had eggs".
A wife tells her programmer husband: “Go to the store and buy a gallon of milk. If they have eggs, get six.”
He comes back with six gallons of milk. When she asks why, he replies: “They had eggs".
Skill issue. Used an implied “of them”, which is idiomatic in the language, but forgot to update the value of “them” first. Without that, taking the first value is compliant with the standard.
/s, but only if we assume us programmers have common sense. /s