1
2015-08-31 13:44:56  翻译 
Translation into any natural language of the error messages generated
by any computer program.

Bertrand Roehner (roehner@lpthe.jussieu.fr)

Submitted on 20 Aug 2015, Comments are welcome

ABSTRACT

Since the introduction of the Fortran programming language some 60
years ago, there has been little progress in making error messages
more user-friendly. A first step in this direction is to translate
them into the natural language of the students.

In this paper we
propose a simple script for Linux systems which gives word by word
translations of error messages. It works for most programming
languages and for all natural languages.

Understanding the error
messages generated by compilers is a major hurdle for students who are
learning programming, particularly for non-native English
speakers. Not only may they never become "fluent" in programming but
many may give up programming altogether.

Whereas programming is a tool
which can be useful in many human activities, e.g. history, genealogy,
astronomy, entomology, in many countries
(apart from the US) the skill of programming
remains confined to a narrow fringe of professional programmers.
In
all societies, besides professional violinists there are also
amateurs. It should be the same for programming. It is our hope that
once translated and explained the error messages will be seen by the
students as an aid rather than as an obstacle and that in this way
more students will enjoy learning and practising programming. They
should see it as a funny game.

> The paper is available on the arXiv website (address below)
> which is a database
> of preprints in physics and mathematics that is maintained
> by the Los Alamos Research Center and Princeton University.

http://lanl.arxiv.org/abs/1508.04936
登录后才可以评论,马上登录
2012-2022 www.swarma.org, all rights reserved