Posts

Instead of using the high-level languages, programmers will start using programming of more high-level or human language level programming? 2018-12-09T18:54:07.626Z

Comments

Comment by manhobby on Instead of using the high-level languages, programmers will start using programming of more high-level or human language level programming? · 2018-12-12T05:48:03.490Z · LW · GW

An intelligent compiler will ask for clarification whenever there’s an ambiguity and may suggest improved wordings to resolve the issue. Writing a program will end up being a conversation with an intelligent machine which anyone could handle even if they know nothing about programming - it will be a collaboration with an intelligent system which is in itself an expert programmer. The error messages will be comments and questions just like the ones you’d get if you were co-writing a program with a human programmer. (“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?”)

None of that will stop you putting in a line of C or any other programming language if you want to, but most of the work will simply be done in natural language, typically at a much higher level with the compiler working out how to carry out the tasks asked of it. The end user will also become a programmer, telling the machine how (s)he would prefer things to be done, and the machine will comply. That will rarely be done through anything other than natural language.

Programming languages will end up being increasingly high-level until they become identical to natural language. You will eventually be able to write all your programs in English, Portuguese, or any other natural language, although you will also be able to mix that with instructions of the kind used in today’s programming languages whenever you think that’s more efficient or clearer.

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.

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.

Comment by manhobby on Instead of using the high-level languages, programmers will start using programming of more high-level or human language level programming? · 2018-12-10T20:37:14.315Z · LW · GW

Hi ChristianKl,

I probably will create the programming of more high-level or human language level programming because I want to facilitate the computer programming.

Comment by manhobby on Instead of using the high-level languages, programmers will start using programming of more high-level or human language level programming? · 2018-12-09T20:41:40.620Z · LW · GW

Hi habryka,

I asked it on this forum because I probably will create the programming of more high-level or human language level programming.

What is the correct forum to ask this question?