午夜福利1000集合

Code diagrams enable ‘point-and-click’ programming

Non-programmers using a new computer language can design and modify Java software with a few clicks of a mouse

Non-programmers could play a major part in developing complex computer programs, thanks to a new language developed by Sun Microsystems.

Ace is based on Sun鈥檚 successful Java language and provides software development tools that give a graphical representation of computer code.

Manipulating the diagram on-screen automatically alters the underlying code. For example, moving a line connecting two boxes could change the point at which a piece of input data is entered into a program.

鈥淣on-programmers can use Ace to build a skeleton of their application,鈥 says Ali Sayed, a member of the Ace project team. 鈥淏ut to make it completely working they [or a colleague] will have to write some minimal amount of code.鈥 Ace should also let non-experts modify a program after its core components have been written.

Minimal code

Andy Rutter, a Java programming consultant with UK company GBDirect, says there have been attempts to provide user-friendly graphical programming aids for other languages.

He says these often make development easier, but reduce the flexibility of the programs that can be written. 鈥淚f non-technical people are putting together a system, then they have to have a small number of technical choices,鈥 Rutter told New Scientist.

However, Rutter believes Ace could be useful for Java developers: 鈥淎 common criticism has been that Java is very hard to use. Ace will bring the tools and facilities of Java to more people.鈥

Sun hopes that Ace鈥檚 ease of use could cut the cost and complexity of developing internet and wireless programs. It also aims to reduce the work needed to make individual programs work on different platforms, by automatically adapting the code for different components such as databases or web servers.

Sayed told New Scientist that some of the source code behind the Ace language may be freely released at the JavaONE conference in June 2003. This would let other programmers expand the range of applications the language can be used to write.

More from New Scientist

Explore the latest news, articles and features