Re:English as a programming language
by blackle on Friday September 11, 2015 @10:04AM
(#10203692)
In my opinion making a programming language more like a spoken language will just add more confusion. To an english speaker, the phrase "take every number in the list X and add five" means the same as "add five to each number in the list X", but in many cases these natural language compilers cannot recognize that.
[ Parent
| on HN ]
The spoken language has some horrible holes in it. A couple of my favorite examples: "You cannot put too much salt in a margarita" (which has two completely opposite meanings) and "I did not say he beat his dog" (which can have seven different underlying meanings depending on where you put the inflection).