harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: Internationalized messages
Date Fri, 21 Apr 2006 12:02:39 GMT
Anton Avtamonov wrote:
> On 4/21/06, Tim Ellison <t.p.ellison@gmail.com> wrote:
<snip>
>> I'd prefer the module name '.', i.e. beans.1, beans.2, and so on.
> 
> I'm not sure. Module name IMHO doesn't make too much sense since it is
> already 'coded' into accessor location and class location. I would
> prefer <class_name>.<message intention> like
> RandomAccessFile.file_is_closed
> or something similar which keeps the idea of what the message is about.
> 
> That requires a bit more efforts but makes the code understandable.

I'd be inclined to agree, but using long key String turned out to be one
of the top Eclipse performance bloopers [1] so we actually need to keep
them short.

[1] http://www.eclipse.org/eclipse/development/performance/bloopers.html
(page down to "Message catalog keys")

Regards,
Tim

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message