On 5/31/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
Yep, we discussed that a while ago.

IIRC there was some debate about how the message keys should look.
Today we have short strings (e.g. "K1234") and there was a proposal to
make that <module>.<id> (e.g. "beans.42").  I recall some objections to
that proposal but cannot recreate them right now.

Yes. I proposed to have self-documenting key names.
Because when code produces some exception, for instance, I would
prefer to see something like

throw new IOException(I18N.getMessage("wrongFileFormatMsg"))

rahter than

throw new IOException(I18N.getMessage("K1234"))    :-).

With my proposal it is very easy to understand the idea of the coded
message and its intention.

Wishes,
--
Anton Avtamonov,
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to