Category: 

What Is Visual Programming?

Article Details
  • Written By: Archana Khambekar
  • Edited By: J.T. Gale
  • Last Modified Date: 03 September 2014
  • Copyright Protected:
    2003-2014
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Over 33% of the 800 plant species on the island of Socotra off the coast of Yemen are not found anywhere else on Earth.  more...

September 19 ,  1957 :  The US conducted the world's first underground nuclear explosion in Nevada.  more...

Visual programming is the creation of a computer program by utilizing pictorial elements. Traditionally, a program is a sequence of text statements used to achieve a certain result or solve some problem. Programming languages often have particular ways of representing the work to be done thus leading to complexity. Visual programming attempts to make the creation of programs simpler.

Consider a search conducted within a website where a box is used to enter text. When the user types in a character, a number of suggestions are shown right below the text box. A visual program to achieve this would allow the programmer to place a number of boxes on the screen, one for each task, and use arrows to indicate the flow between tasks.

The first box on the screen would indicate that it is waiting for user action. When a character is typed the flow will be directed to a box which determines whether the character is valid. If the character is valid then the flow will be directed to another box on the screen that searches the database.

Ad

Searching the database would itself have a number of subtasks. Clicking on the box for database search would bring up a new screen to let the programmer indicate those subtasks and the flow between them. Aspects such as stopping the search when a fixed number of suggestions are found or giving up the search when not enough suggestions are found in a given amount of time, would be considered and dealt with by the programmer in this screen.

A computer program has many facets to it besides action and flow. These include relationships between the data, sharing of data with other programs, spreading the work among resources, and linkage of graphical elements for ease of use. A set of text statements does not always handle all of these actions in a smooth manner and it may not be easy for other programmers to understand all the implications. Visual programming attempts to address most of these aspects.

There are many languages that allow programming to be done visually. Typically, visual programming languages include: Tersus for web applications, MVPL for robotics, LabVIEW for scientists, and SynthMaker for audio tools. There are visual languages for programming hand-held and embedded computers. However, Visual C# or Visual Basic are not visual languages. Though popular, they merely allow on-screen placement of items with which the user interacts.

Visual programming has been criticized for making programs toy-like and for the number of visual elements that can be shown on a screen at one time. The Deutsch Limit indicates that roughly 50 elements can be shown. Just as textual programming languages have evolved, there is promise that visual languages can also address these challenges.

Ad

More from Wisegeek

You might also Like

Discuss this Article

bobcorrick
Post 4

You might like to look at Scratch, which children have found easy to use. It allows powerful scripts (including animation) to be created using a "jigsaw puzzle" model to enforce the rules.

JavaGhoul
Post 3

@Qohe1et

If everyone makes a website, certain websites are going to be better than others. The factor that determines how good a website is going to be is how much of a novelty the main idea behind it is, not the ease of the coding. I think that empowering each individual through helpful sites is what everybody is really looking for.

Qohe1et
Post 2

Getting a human language to interact with a computer function is something like a large chain starting with the human's desire and working its way to the computer via many translations. This multi-tiered process is quite complicated and is being expanded to include translation of many languages into a collective database. Soon we will be seeing AI advance to include translation of human languages in a very effective manner.

Renegade
Post 1

Programming is becoming more and more accessible to the common user to the point where the internet is becomings something like a massive human project where everyone can mould and run with their own ideas. I think that we will start seeing more and more people working from home using websites and advertising that see a very large amount of traffic every day.

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email