Sunday, September 8, 2002

Musical approach helps programmers catch bugs

also from new scientist: "Vickers and James Alty of Loughborough University developed a system that automatically converts computer program code written in Pascal into simple "music"... Vickers and Alty assigned particular musical phrases to different Pascal language constructs, such as conditional statements and loops. A synthesised chord, for example, represents conditional statements such as "IF TRUE". A loop could have an ascending string of synthesised notes associated with it. When different sections of code are put together, they should form a harmonious tune. But if a loop, for example, does not execute properly, the music would not ascend properly and the programmer should hear the error. Similarly, a duff statement would produce a different chord that would be immediately apparent."

0 Comments:

Post a Comment

<< Home

CC Copyright 2001-2009 by Anne Galloway. Some rights reserved. Powered by Blogger and hosted by Dreamhost.