The future of programming

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

The future of programming

Post by manhobby »

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?
button colors.jpg
(USER clicks on his choice)

AGI: Button size?
button sizes.jpg
(USER clicks on his choice)

AGI: Button padding?
button padding.jpg

(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?
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

Re: The future of programming

Post by manhobby »

AGI: Radius of button edge?
button radius.jpg
button radius.jpg (20.52 KiB) Viewed 10591 times

(USER clicks on his choice)

AGI: Button border color?
button border color.jpg

(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?
button shadow.jpg
(USER clicks on his choice)
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: The future of programming

Post by iansjack »

Sounds pretty long-winded just to create a button. This is a much easier process in conventional programming environments.
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

Re: The future of programming

Post by manhobby »

AGI: Can the button be disabled? Under what conditions?
button disabled.jpg
button disabled.jpg (17.88 KiB) Viewed 10590 times
(USER clicks on his choice and somehow describes the conditions affecting this property)
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

Re: The future of programming

Post by manhobby »

AGI: Do you want to specify a non-default width for this button?
button width.jpg
(USER clicks on his choice, or enters a specific value)
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

Re: The future of programming

Post by manhobby »

AGI: Is this button part of a group of horizontal or vertical buttons, with or without borders?
button group.jpg
(USER clicks on his choice, or enters a specific value)

What are the opinions of the programmers about the future of programming?
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

Re: The future of programming

Post by manhobby »

It is impossible to put all images in a message
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: The future of programming

Post by xenos »

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).
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: The future of programming

Post by Octacone »

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:
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DavidCooper
Member
Member
Posts: 1150
Joined: Wed Oct 27, 2010 4:53 pm
Location: Scotland

Re: The future of programming

Post by DavidCooper »

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.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c

MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: The future of programming

Post by iansjack »

... 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.
manhobby
Member
Member
Posts: 111
Joined: Wed Mar 21, 2018 12:11 pm
Libera.chat IRC: esi

Re: The future of programming

Post by manhobby »

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.
azblue
Member
Member
Posts: 147
Joined: Sat Feb 27, 2010 8:55 pm

Re: The future of programming

Post by azblue »

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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: The future of programming

Post by Solar »

...or an event handler for those buttons, so that they actually do something useful...
Every good solution is obvious once you've found it.
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: The future of programming

Post by iansjack »

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:
Post Reply