OSDev.org
https://forum.osdev.org/

The future of programming
https://forum.osdev.org/viewtopic.php?f=11&t=33689
Page 1 of 2

Author:  manhobby [ Sat May 11, 2019 1:55 pm ]
Post subject:  The future of programming

Maybe the future of the programming is the human-language-level programming.

Maybe it will take a lot of iterations. For example (limiting myself to standard CSS button options only):

USER: Make a button

AGI: Background color of the button?

Attachment:
button colors.jpg
button colors.jpg [ 19.42 KiB | Viewed 7933 times ]


(USER clicks on his choice)

AGI: Button size?

Attachment:
button sizes.jpg
button sizes.jpg [ 20.51 KiB | Viewed 7933 times ]


(USER clicks on his choice)

AGI: Button padding?

Attachment:
button padding.jpg
button padding.jpg [ 24.81 KiB | Viewed 7933 times ]


(USER clicks on his choice)

AGI: Radius of button edge?

(USER clicks on his choice)

AGI: Button border color?

(USER clicks on his choice)

AGI: Does the button color change when you move the mouse?

USER: No.

AGI: Does the button have a permanent shadow, or does the shadow appear only when the mouse is over the button?

(USER clicks on his choice)

AGI: Can the button be disabled? Under what conditions?

(USER clicks on his choice and somehow describes the conditions affecting this property)

AGI: Do you want to specify a non-default width for this button?

(USER clicks on his choice, or enters a specific value)

AGI: Is this button part of a group of horizontal or vertical buttons, with or without borders?

(USER clicks on his choice, or enters a specific value)

What are the opinions of the programmers about the future of programming?

Author:  manhobby [ Sat May 11, 2019 2:09 pm ]
Post subject:  Re: The future of programming

AGI: Radius of button edge?

Attachment:
button radius.jpg
button radius.jpg [ 20.52 KiB | Viewed 7933 times ]


(USER clicks on his choice)

AGI: Button border color?

Attachment:
button border color.jpg
button border color.jpg [ 24.54 KiB | Viewed 7933 times ]


(USER clicks on his choice)

AGI: Does the button color change when you move the mouse?

USER: No.

AGI: Does the button have a permanent shadow, or does the shadow appear only when the mouse is over the button?

Attachment:
button shadow.jpg
button shadow.jpg [ 20.59 KiB | Viewed 7932 times ]


(USER clicks on his choice)

Author:  iansjack [ Sat May 11, 2019 2:13 pm ]
Post subject:  Re: The future of programming

Sounds pretty long-winded just to create a button. This is a much easier process in conventional programming environments.

Author:  manhobby [ Sat May 11, 2019 2:15 pm ]
Post subject:  Re: The future of programming

AGI: Can the button be disabled? Under what conditions?

Attachment:
button disabled.jpg
button disabled.jpg [ 17.88 KiB | Viewed 7932 times ]


(USER clicks on his choice and somehow describes the conditions affecting this property)

Author:  manhobby [ Sat May 11, 2019 2:18 pm ]
Post subject:  Re: The future of programming

AGI: Do you want to specify a non-default width for this button?

Attachment:
button width.jpg
button width.jpg [ 33.44 KiB | Viewed 7931 times ]


(USER clicks on his choice, or enters a specific value)

Author:  manhobby [ Sat May 11, 2019 2:20 pm ]
Post subject:  Re: The future of programming

AGI: Is this button part of a group of horizontal or vertical buttons, with or without borders?

Attachment:
button group.jpg
button group.jpg [ 40.16 KiB | Viewed 7931 times ]


(USER clicks on his choice, or enters a specific value)

What are the opinions of the programmers about the future of programming?

Author:  manhobby [ Sat May 11, 2019 2:24 pm ]
Post subject:  Re: The future of programming

It is impossible to put all images in a message

Author:  xenos [ Sat May 11, 2019 11:05 pm ]
Post subject:  Re: The future of programming

Even reading this thread takes me longer than just writing the CSS for the button I want. After the second or third question I would already be annoyed, tell "AGI" to just give me that darn button and return to my text editor, which lets me type that stuff in seconds thanks to syntax completion (and even without, it would still be faster).

Author:  Octacone [ Sun May 12, 2019 4:35 am ]
Post subject:  Re: The future of programming

I think the tile is wrong, it mentions "programming" but I don't see any. I can only see some button clicking creation application. :wink:

Author:  DavidCooper [ Sun May 12, 2019 11:00 am ]
Post subject:  Re: The future of programming

That is not how the conversation would go. The AGI system will give you what you most likely want and will then adjust any aspects of it which you aren't happy with. It will not drag you through a menu of all possible options item by item, but will wait instead until you ask for the button to behave in a particular way. The aim is to use artificial general intelligence and not artificial general stupidity.

User: Make a button for that.

[Button appears.]

User: A bit bigger, and make it green.

[Button grows bigger and turns green.]

User: Put it here.

[Button moves to the correct location.]

...

(Some time later):-

User: When the cursor's on this button, turn it blue.

[Button turns blue. (AGI system knows that that's more likely what's wanted than turning the cursor blue.)]

User: Make its corners rounded.

[Button changes shape (and retains new shape even when cursor is moved away).]

Etc.

Author:  iansjack [ Sun May 12, 2019 11:52 am ]
Post subject:  Re: The future of programming

... and, still, all you are doing is designing an interface in a pretty inefficient way. There are already excellent interface-design programs that will do this in an efficient, flexible manner using WYSIWYG techniques. What better way to design an interface than visually. For the experts there will be a text file behind the design which can be edited to produce the design precisely and quickly.

But none of this could be described as "programming" any more than a typographer or a cover artist authors a book.

Author:  manhobby [ Sun May 12, 2019 2:35 pm ]
Post subject:  Re: The future of programming

iansjack wrote:
... and, still, all you are doing is designing an interface in a pretty inefficient way. There are already excellent interface-design programs that will do this in an efficient, flexible manner using WYSIWYG techniques. What better way to design an interface than visually. For the experts there will be a text file behind the design which can be edited to produce the design precisely and quickly.

But none of this could be described as "programming" any more than a typographer or a cover artist authors a book.


DavidCooper,

Please quote programming examples that show how AGI will work.

Author:  azblue [ Sun May 12, 2019 6:17 pm ]
Post subject:  Re: The future of programming

manhobby wrote:
(limiting myself to standard CSS button options only):



I know you said you're limiting your examples to button options for now, but whenever people suggest the future of programming is something along these lines I can't help but wonder how, for example, one would write a FAT driver using this style of programming.

Author:  Solar [ Sun May 12, 2019 11:58 pm ]
Post subject:  Re: The future of programming

...or an event handler for those buttons, so that they actually do something useful...

Author:  iansjack [ Mon May 13, 2019 1:27 am ]
Post subject:  Re: The future of programming

azblue wrote:
how, for example, one would write a FAT driver using this style of programming.
That's easy. You just say "write me a FAT driver" and - magically - it does so. :wink:

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/