2 ms·
There is a joke that perfectly illustrates this entire article: A programmers wife asks him, "Please go to the store and buy a carton of milk, and if they have
by jdmichal 12y ago
There is a joke that perfectly illustrates this entire article:
A programmers wife asks him, "Please go to the store and buy a carton of milk, and if they have eggs, buy a dozen."
The programmer returns home, and his wife is very angry with him. "Why did you buy twelve cartons of milk?!"
English SE question detailing the linguistic mechanisms: http://english.stackexchange.com/questions/40234/bring-6-eggs-if-there-are-potatoes-bring-9 http://english.stackexchange.com/questions/40234/bring-6-egg...
- jiggy2011 12y agoWouldn't this imply that the "buy" instruction is stateful?
- cousin_it 12y agoAlso, >> At some point I hope to have computer systems I can program by voice in English, as in "House? Could you wake me up at 7?" > Yeah, well, I fear the answer will be yes (it could), but it won't do so since you haven't asked it to wake you up, only if it could. From an exchange on python-list, https://mail.python.org/pipermail/python-list/2003-October/175717.html https://mail.python.org/pipermail/python-list/2003-October/1...
- schoen 12y agoWow, the examples in the SE discussion are awesome. I was aware of some of these linguistic issues, but the examples really underscore how subtle pragmatics can be. (The examples give completely syntactically parallel sentences that are pragmatically resolved in opposite ways.)