In common life we use text for programming.
But why not gestures or voice? Are there any researches around this topic?
|
In common life we use text for programming. But why not gestures or voice? Are there any researches around this topic? |
|||||||||||||||||||||
|
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
There's subtext which uses a graphical representation of the code as the code. It's basically a research project about exactly your question: how can programming be made better by removing it's dependence on a pure-text representation. |
|||||||
|
|
There are Many Visual Programming languages. But ultimately they all convert to text. Programming is not a linear task, how would you edit a Gesture? You could use Speech to Text to code by voice, but again, it's converted to text. I forgot about Gmail Motion , not really programming but related. |
|||||||||||
|
|
One non-text based language that stands out to me is Piet which uses an image as the code to be compiled. There's also Scratch which is developed by MIT, designed to make programming more accessibly to beginners and/or children. |
|||
|
|
|
Ultimately, a computer program is really just a bunch of ideas that have been strung together to do something useful. Anything you can use to express an idea can be used to express a program so long as there's an understanding of the mapping between the ideas and their representation. If you're in the forest and all you have to express your concepts are what you find around you, a program could be a bunch of objects lined up like this:
Text just happens to be a convenient way to express those ideas because it maps into our (human) language and that language maps into ideas. |
|||
|
|
Real LifeNon-VisualMany attempts at general purpose visual programming have been made and all can be empirically be considered failures. They all have some compromise that lets you "script" the graphical elements, because that is the richest, most convenient way to do something. There have been some very domain specific visual only environments that succeed, but they are niche and not general purpose. Non-visual programming, such as spoken words is a long way off. The closest thing we have today is Siri ( and the like ). But again, that can be considered a domain specific implementation ( search language ). It is going to be a long time before we get to Non-TactileGestures don't imply programming, they imply non-tactile interaction. There are many examples of this, from the Playstation Eye, Wii to the Kinect. None of them drive a programming environment. If I close my eyes and touch type and type, as I am doing now; I am doing non-visual "gesture" based programming. There are many examples of gesture based programming in the music world; if you consider MIDI to be a programming language representation. There is the Theremin which is non-tactile. There is the an abundance of accelerometer based controls in the music world as well. From the "Hot Hand", to iPod/iPhone and iPad driven devices. There are also infrared Theremin style controllers for input as well. Real Programmers
|
|||||
|
|
It may sound odd but I think it should be possible very well. For example using music scale you could encode those as symbols to be 'interpreted' by a software. In this way you could give instructions to computer, but as more complex input emerges it could become difficult to represent that. |
|||||||||||||||
|
|
In the Spanish movie Eva, the computers that control robots are programmed by physically manipulating a complex array of objects and arranging them in specific spatial configurations. There is a library of "parts" from where you can take new objects and add them to the "program". The "object editor" and programming environment is not really made of matter but an augmented reality simulation. Overall, I found the approach very interesting, since the natural properties (size, shape, position) of the physical parts involved map quite well to the values of properties that they may have inside a digital computer. As far as I can understand, this is all fiction, but not unrealistic. And it doesn't involve any text. |
|||
|
|