English as a programming language
github.com
English as a programming language
1–7 of 7 posts
Re: English as a programming language
#2Re: English as a programming language
#3Re: English as a programming language
#4Re: English as a programming language
#5In 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.
Re: English as a programming language
#6In 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.
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).