English is a language that’s subject to natural evolution over thousands of years over a domain of communicating information that’s not very abstract.
It would be very surprising if that process leads to a language that’s high-level in any meaningful sense of the term. English lacks basics like an unambigious or.
(“When you say “print the result of that part”, do you mean this part [a section of the code is highlighted], and do you want it printed to the screen or the printer?”)
That sounds like it would radically increase the work to write the “print” function in the first place if you have to think about all the possible meanings that someone might have in mind. That will make programming a lot harder.
Where natural language is ambiguous, the machine can simply ask for clarification to make sure it has understood the instruction the right way, and if it hasn’t, it can help the programmer improve the wording of the instruction.
The machine understanding the instruction isn’t the only problem that’s exists. Good code is written so that a human who reads the code understands what it does. Ambigious language that gets interpreted that way is going to be opague to the reader of the code which makes debugging harder.
Please, see the Plain English Programming site so that you can see a language that looks close to natural language. That would let you see that using normal language would be a practical way to write code.
To me it looks like it’s evidence of the opposite. The code is a lot harder to read then python code.
English is a language that’s subject to natural evolution over thousands of years over a domain of communicating information that’s not very abstract.
It would be very surprising if that process leads to a language that’s high-level in any meaningful sense of the term. English lacks basics like an unambigious or.
That sounds like it would radically increase the work to write the “print” function in the first place if you have to think about all the possible meanings that someone might have in mind. That will make programming a lot harder.
The machine understanding the instruction isn’t the only problem that’s exists. Good code is written so that a human who reads the code understands what it does. Ambigious language that gets interpreted that way is going to be opague to the reader of the code which makes debugging harder.
To me it looks like it’s evidence of the opposite. The code is a lot harder to read then python code.