Tuesday, September 4, 2012

Visual programming means anyone can be a coder

Visual programming means anyone can be a coder - tech - 29 August 2012 - New Scientist@import "/css/gridmain.css"; @import "/css/article.css";@import "/css/comlist.css";@import "/data/images/ns/haas/haas.css";/* specific to this article view */#maincol {border-top:solid #A7A7A7 1px; padding-top:15px;}/* Basic commenting CSS*/.combx {margin:10px 0 0 0;padding:10px 20px 10px 10px;}#compnl {border-top:solid #A7A7A7 1px;}/* comment styles for article page only *//* form styles */#comform {margin:20px 50px 20px 10px;}#comform label{width: 90px;text-align: right;}#comform div.userhelp {margin:0 0 2px 115px;}#comform input.textinput, #comform textarea {width:300px;}#comform div.floatclear, #comformlogin div.floatclear {margin-bottom:10px;}#comform input#comcancel{margin:0 10px 0 0;}#comform input#compreview{margin:0 10px 0 0;}#comform textarea {height:95px;}#comformlogin {margin:20px 100px 20px 100px;}#comformlogin label{width: 120px;}#comformlogin input.textinput {width:150px;}#snv_tech a {background: url('/img/bg/snv_tech.jpg') no-repeat; color:#fff;}/* article social media */#sharebtns {width:440px; margin-left:10px; margin-bottom:20px; padding:15px 0 15px 10px; background:#F2F2F2;}#sharebtns div.floatleft {margin-right:10px;}#sharebtns .stumble {margin-top:1px;}.grpTools img {margin-right:8px; margin-top:9px;}#fblike {margin-top:41px;} Subscribe nowNew ScientistTech    Log in

EmailPassword Remember me

Your login is case sensitive

I have forgotten my password

Register nowActivate my subscriptionInstitutional loginAthens loginclose

My New ScientistHomeNewsIn-Depth ArticlesBlogsOpinionTVGalleriesTopic GuidesLast WordSubscribeDatingLook for Science JobsSPACETECHENVIRONMENTHEALTHLIFEPHYSICS&MATHSCIENCE IN SOCIETYCookies & Privacy

Home|Tech|News

Visual programming means anyone can be a coder29 August 2012 byDouglas HeavenMagazine issue 2879. Subscribe and save

Coding by tweaking on-screen shapes and drawings could revolutionise computer programming, making it accessible to all

MANY great ideas start out as scribbles on scraps of paper, as thinking visually is an intuitive way to grapple with abstract concepts. Part of the reason is the immediacy - thoughts can be captured and communicated in a sketch and, if wrong, changed or scratched out just as quickly. Not so for computer programmers.

A program is a set of instructions for turning input - such as numerical values - into output. The causal chain is one-way. To change the output, you have to trace the chain back to the relevant instructions and change what they do with the input. This can make hunting down errors in the program or simply experimenting with different outputs an unintuitive process of jumping back-and-forth.

Artist and programmer Toby Schachman thinks we can do better. As part of his thesis project for the Interactive Telecommunications Program at New York University, he developed an experimental programming interface called Recursive Drawing, in which programmers can incrementally build up complex fractal-like structures. The design lets them manipulate the underlying source code by simply dragging parts of the patterns around. "When people describe algorithms they'll give a spatial analogy almost all the time," says Schachman. Though still in its early stages, the ideas behind the interface could change the way programming is done. Think of interacting with Photoshop.

"The form that you're working in resembles the thing that you're creating," says Schachman - there is no need to worry about changing the underlying code. His prototype works in much the same way. He will present it at the Splash programming conference in Tucson, Arizona, in October.

He's not alone in wanting to simplify the coding process. Bret Victor, who has designed user interfaces for Apple, is another developer who wants to open up programming to a wider community. "To write code you essentially have to play computer. You have to simulate in your head what each line of code would do," he said in a talk last year at the Canadian University Software Engineering Conference. "So much of creation is about discovery and you can't discover anything if you can't see what you're doing."

Schachman's approach is a good start, agrees Peter van Roy, a computer scientist at the Catholic University of Louvain (UCL) in Belgium and developer of FractaSketch, a graphical design tool based on fractals that has been used in the fashion industry. "Text-based programming is still the best way to give precise instructions to a computer," he says. But there's a big gap between writing the text and seeing what the running program does. "Bringing in graphical ideas like Schachman does can definitely reduce this gap," he adds

Sara Jones at City University in London, who is researching creative techniques for software development, says Recursive Drawing is part of a trend that will help to democratise programming. "It opens up the process of programming to a broader community of people, including artists, architects and designers, for whom the unnecessary translation of ideas into text may constitute a frustrating and unwelcome block to the flow of creative ideas," she says.

Issue 2879 of New Scientist magazineSubscribe to New Scientist and you'll get:New Scientist magazine delivered every weekUnlimited access to all New Scientist online content -
a benefit only available to subscribersGreat savings from the normal priceSubscribe now!printsendIf you would like to reuse any content from New Scientist, either in print or online, please contact the syndication department first for permission. New Scientist does not own rights to photos, but there are a variety of licensing options available for use of articles and graphics we own the copyright to.

Have your say

Only subscribers may leave comments on this article. Please log in.

email:password:Remember me  

Only personal subscribers may leave comments on this article

Subscribe now to comment.

Just Another Syntax?Wed Aug 29 12:29:04 BST 2012 by Alexandre Vinet

Programming is complex because the logic required to run a computer is complex, not because the syntax is too hard to understand. It takes some adjustments to learn a new syntax, but the concept of computer programming is what you really need to learn. Once the actual programming aspect has been successfully understood, syntax is just a minor obstacle. Symbols and images and drawings will just be another syntax.

I fear making it simpler and more accessible would allow people to be able to code some programs without being able to fully understand the actual logic required, thus making very inefficient, possibly insecure code. A bit like the way Microsoft FrontPage made creating websites a lot more accessible and easy for non web-savvies, but ended up creating pages with bloated, unmanageable code that was very difficult to maintain and expand on.

It would be, however, extremely interesting to see a combination of text based programming with a visual cue on the side giving you an idea of where your code is going. Current compilers and interpreters are usually very good at letting you know where your code will break your application because of a syntax mistake, but not very good at guessing if your application is going to do what you want it to do. I would gladly welcome a change to breakpoints.

login and replyreport this commentJust Another Syntax?Wed Aug 29 12:51:36 BST 2012 by Colin

It has already been tried numerous times. Java-beans for example. MS Access query builder is one of the few usable ones I have tried, but doesn't make the logic any simpler

login and replyreport this commentJust Another Syntax?Wed Aug 29 15:09:01 BST 2012 by Daniel

I've done designing of domain specific computer languages, and yes, for certain limited applications one may develop some language to express visually. The most famous of this approach has been the "programming by example", where you prototype how things will look like. A different approach may try to visualize an aspect of what happens in a computer, and build a language to manipulate that visual representation, like an editor. The "programmer" can then manipulate visually the representation, simulating it to check whether it delivers the final result, and when ready, the recorder interaction generates all necessary underlying machine instructions.

I am highly sceptical however, that anyone will make accessible to untrained people any general purpose programming technology.

In short:

- domain specific small application areas - yes

- general purpose programming - very unlikely

login and replyreport this commentJust Another Syntax?Wed Aug 29 19:09:01 BST 2012 by Paul Clapham

I've been programming for a long time and I regularly see products which are supposed to let the general public produce applications by manipulating graphics on the screen. But if you look around, you'll find that nobody is actually using those applications.

So here's my proposal: Let the people working on this visual program paradigm elaborate it until they can produce an application which schedules garbage-truck drivers to work various shifts depending on the rules in their union contract. Preferably with a real union contract. Then they will have something worth considering.

login and replyreport this commentJust Another Syntax?Sat Sep 01 07:10:56 BST 2012 by bestmywatch
http://www.topmywatch.net.

Wonderful! This is our website:(Sales rolex watches, High-quality rolex watches,Top brand watches,all luxury watches for sale cheap and cheapest only $59 ,Buy cheap Swiss watches online at http://www.topmywatch.net.)

login and replyreport this commentview thread

All comments should respect the New Scientist House Rules. If you think a particular comment breaks these rules then please use the "Report" link in that comment to report it to us.

If you are having a technical problem posting a comment, please contact technical support.

printsendLet's play computer <i>(Image: Toby Schachman)</i>Let's play computer (Image: Toby Schachman)

4 more images

ADVERTISEMENT

MoreLatest newsWaste water harnessed to make electricity and plastics09:00 03 September 2012

The treatment of waste water can be used to create energy and biodegradable plastics

Unsure robots make better teachers than know-alls16:41 31 August 2012

Students learn best from a robot when it makes mistakes that they can correct

Bendy battery lets you wear gadgets' power supply11:08 30 August 2012

Flexible battery design lets you wear your gadget's power source on the wrist, neck or any part of the body you fancy

Let's get lost: Apps that help you wander to happiness08:00 30 August 2012

From GPS to book recommendations, technology is eradicating uncertainty from life. But what if happiness depends on taking chances?

see all related stories

MoreLatest newsMoon's magnetic umbrellas may shield future spaceships18:43 03 September 2012

New insights into lunar anomalies could inspire deflector shields for spaceships that would protect astronauts against solar storms

Today on New Scientist: 3 September 201218:00 03 September 2012

All today's stories on newscientist.com, including: stem cells return some feeling to paralysed patients, satellite images of Brazil's ravaged rainforests, the ultimate food scare, and more

Retracing the stardust trail17:34 03 September 2012

In The Stardust Revolution, Jacob Berkowitz explains how stars have shaped the universe and asks if we may soon discover life outside the solar system

Brain diabetes: the ultimate food scare15:51 03 September 2012

Big trouble lies ahead if Alzheimer's is proven to be a form of diabetes

see all latest news

Most readMost commented Epigenetics gives clues to human cancer susceptibility Two dead stars provide low-tech way to test Einstein Rosacea may be caused by mite faeces in your pores Mirrors take root in pitch-black nanotube forest Protein discovery could lead to 'genomic debuggers' Most readMost commented Fracking could be combined with carbon capture plans Rosacea may be caused by mite faeces in your pores Big burn theory: Why humans spontaneously combustMovie Camera Bonobo genius makes stone tools like early humans didMovie Camera Food for thought: Eat your way to dementia TWITTERNew Scientist is on Twitter

Get the latest from New Scientist: sign up to our Twitter feed

LATEST JOBS PIC: Laboratory Technician SEC Recruitment: Senior Statistical Programmers | Perm | UK or Germany SEC Recruitment: Senior Lead Programmer |Germany |Global Company Meet Recruitment: Regulatory Affairs Publisher, Vienna Meet Recruitment: Fantastic Senior Regulatory Affairs function @ top Pharma, Berks/Bucks This week's issueSubscribe

Cover of latest issue of New Scientist magazine

For exclusive news and expert analysis, subscribe to New Scientist.

Gain full online accessCurrent issue contentContent of past issues01 September 2012

ADVERTISEMENT

Back to top

Login

EmailPassword Remember me

Your login is case sensitive

I have forgotten my password

Register nowActivate my subscriptionInstitutional loginAthens loginclose

About usNew ScientistSyndicationRecruitment AdvertisingStaff at New ScientistAdvertiseRBI JobsUser HelpContact UsFAQ / HelpDisclaimerTs & CsCookiesPrivacy PolicySubscriptionsSubscribeRenewGift subscriptionMy accountBack issuesCustomer ServiceLinksSite MapBrowse all articlesMagazine archiveNewScientistJobsThe LastWordRSS FeedsOnline StoreAndroid AppMobile site homeScience JobsBiology JobsChemistry JobsClinical JobsSales JobsEarth & Environment JobsEngineering JobsMaths & IT JobsGraduate Jobs© Copyright Reed Business Information Ltd.

View the original article here

No comments:

Post a Comment