2 ms·
I wouldn't say that is "natural language like." I would just say that is a very loquacious programming language. I contend the C equivalent of that is more read
by dinkumthinkum 14y ago
I wouldn't say that is "natural language like." I would just say that is a very loquacious programming language. I contend the C equivalent of that is more readable. You're using the same sort of constructs in typical programming languages but still lacking anything like the kind of fluid reading and understanding one would expect from the promise of English like programming languages.
- einhverfr 14y agoIf that is the promise it will never be met for the very simple reason I mentioned above: natural language is defined by how the speakers individually use the language. Computer languages are defined by specification. That kiss the flexibility you are asking for right there and that's why you can never program in English. It isn't just a question of imprecision. NULL in SQL is more imprecise than most of the things folks might argue about in English.... The problem is as to how you define correct usage and correct behavior. The only promise that English-like languages can ever fulfil is that they will be easier to learn for English-speakers than languages which are not.