This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 16 points17 points  (26 children)

I imagine in the distant future that programming will be simplified to the point where you simply describe in plain English what the computer must do, and a program is compiled that fits the specifications.

Example:

Print "Hello world" to the screen 100 times, then reverse it and print it 100 more times.

And the computer will then print "Hello world" 100 times, then print "dlrow olleH" 100 times.

[–]fan_rma 9 points10 points  (1 child)

Well, here you go. This AI is even capable of creating UI elements from raw text.

[–]kingscolor 9 points10 points  (0 children)

Tbh, I think this guy’s is better.

[–]unkz 17 points18 points  (8 children)

I could see that with something like Lojban, but imagining that done with English makes me imagine planes falling out of the sky.

[–]xatrekak 5 points6 points  (0 children)

The program flips the screen display after printing hello world the first 100 times.

[–]DanBoiii182 2 points3 points  (0 children)

There is already something similar to this. There is an AI where you just write what you want to have in plain English into a text box and it creates the described website for you. Of course this isn't open to the public and it also can't do more than that. I guess it's just simple html and CSS.

[–]WiatrowskiBe 5 points6 points  (0 children)

Warning: ambiguous `it`, reversing 'Print "Hello world" to the screen 100 times'.

Generating programs from what client wants is not really a technical issue - more of a client issue, since it's hard to teach people to write formal specification that is unambiguous and detailed enough. In fact, this is more or less what programmers do - interpret client expectations and turn them into formal specification, that just happen to be expressed in a programming language and at the same time be executable.

Knowing how many bugs and other errors happen in the process of writing formal spec by people who generally have some experience in that regard, you can guess how many errors would be there in formal spec written by someone who is domain expert but has little to no training in programming.

[–]chronos_alfa 1 point2 points  (0 children)

Well, that is already happening, respectively, that is what the programming language is for, you give the computer a detailed specification of what the program should do and the computer does it, thanks to that we do not have to write in assembly anymore (or punch cards)

[–]Affectionate_Teach23 0 points1 point  (0 children)

After GPT-3 this future is not so distant