Ralf Hemmecke wrote:
>
> On 04/01/2015 11:41 PM, Waldek Hebisch wrote:
> > Currently most interpreter error messages are stored in external
> > file and code refers to them via identifier like "S2IS0053".
> > This has some advantages, but IMO makes sources less readable.
> > I plan to replace indetifiers by actual message text.
>
> > Any comments or opinions?
>
> I agree that identifiers like S2IS0053 are a pain when looking into the
> sources. However, that situation looks like an intent to introduce
> international error messages. I think, it would be a step backwards to
> hard code the message texts into the source code.
>
This is not a problem. Currently a standard practice is to
have a program which extracts error messages from source
and puts them in a separate file. Then messages may be translated,
so that translation file contains pairs consisiting of english
message and its translation. English messages is used as a key.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.