News for hackers. Stuff that matters.
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.
Re:English as a programming language by pliftkl on Friday September 11, 2015 @10:55AM (#10203994)
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).
Re:English as a programming language by blackle on Friday September 11, 2015 @11:31AM (#10204230)
Yeah, inflection is really interesting. Now I'm reading the examples for this programming language and putting emphasis on random words, lol
Re:English as a programming language by werber on Friday September 11, 2015 @09:05AM (#10203412)
This looks like an amazing way to introduce programming concepts. So cool!
Re:English as a programming language by kevingoslar on Friday September 11, 2015 @01:07PM (#10204829)
This reminds me of AppleScript. Super easy to read, very hard to write.
Re:English as a programming language by stormcrowsx on Friday September 11, 2015 @09:18AM (#10203476)
It looks like a verbose Python.