4 ms·
> "For x in y" is literally what we say when speaking as humans unlike that quote thing. What about: "Can you unload the truck?" The current context gives us
by nickjj 5y ago
> "For x in y" is literally what we say when speaking as humans unlike that quote thing.
What about:
"Can you unload the truck?"
The current context gives us implied knowledge that we're talking about the items in the truck and where it's getting unloaded to, such as a warehouse if we're near a warehouse door. We only expand on that verbally when we need to such as "Can you throw out the empty boxes in the truck?".
I think this is why programming is nonintuitive, you have to include important steps with very precise words that often go unsaid. Even "throw out" wouldn't convert to the correct intent if a computer executed that statement as is. You would end up literally throwing the empty boxes out of the truck instead of putting them into a dumpster or garbage can (the likely intent based on this example).