OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:08 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: The future of programming
PostPosted: Sat May 11, 2019 1:55 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
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 7928 times ]


(USER clicks on his choice)

AGI: Button size?

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


(USER clicks on his choice)

AGI: Button padding?

Attachment:
button padding.jpg
button padding.jpg [ 24.81 KiB | Viewed 7928 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?


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 2:09 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
AGI: Radius of button edge?

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


(USER clicks on his choice)

AGI: Button border color?

Attachment:
button border color.jpg
button border color.jpg [ 24.54 KiB | Viewed 7928 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 7927 times ]


(USER clicks on his choice)


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 2:13 pm 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
Sounds pretty long-winded just to create a button. This is a much easier process in conventional programming environments.


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 2:15 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
AGI: Can the button be disabled? Under what conditions?

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


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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 2:18 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
AGI: Do you want to specify a non-default width for this button?

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


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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 2:20 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
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 7926 times ]


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

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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 2:24 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
It is impossible to put all images in a message


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sat May 11, 2019 11:05 pm 
Offline
Member
Member
User avatar

Joined: Thu Aug 11, 2005 11:00 pm
Posts: 1110
Location: Tartu, Estonia
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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sun May 12, 2019 4:35 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1134
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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sun May 12, 2019 11:00 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 27, 2010 4:53 pm
Posts: 1150
Location: Scotland
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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sun May 12, 2019 11:52 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
... 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.


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sun May 12, 2019 2:35 pm 
Offline
Member
Member

Joined: Wed Mar 21, 2018 12:11 pm
Posts: 111
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.


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sun May 12, 2019 6:17 pm 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Sun May 12, 2019 11:58 pm 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
...or an event handler for those buttons, so that they actually do something useful...

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: The future of programming
PostPosted: Mon May 13, 2019 1:27 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
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:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group