Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 73507 invoked from network); 27 Aug 2003 20:51:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Aug 2003 20:51:19 -0000 Received: (qmail 46636 invoked by uid 500); 27 Aug 2003 20:19:40 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 46193 invoked by uid 500); 27 Aug 2003 20:19:32 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 45816 invoked from network); 27 Aug 2003 20:19:25 -0000 Received: from unknown (HELO reason.planet57.com) (202.183.214.4) by daedalus.apache.org with SMTP; 27 Aug 2003 20:19:25 -0000 Received: from coredevelopers.net (localhost [127.0.0.1]) by reason.planet57.com (Postfix) with ESMTP id 6205442DE37 for ; Thu, 28 Aug 2003 03:19:18 +0700 (ICT) Date: Thu, 28 Aug 2003 03:19:10 +0700 Subject: Re: [i18n] Hardcoded message strings Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Jason Dillon To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N i18n messages are the least o four worries now. Lets get some code and deal with this later. --jason On Wednesday, August 27, 2003, at 11:51 PM, James Strachan wrote: > > On Wednesday, August 27, 2003, at 05:26 pm, Dain Sundstrom wrote: >> On Wednesday, August 27, 2003, at 05:35 AM, Alex Blewitt wrote: >>> On Wednesday, Aug 27, 2003, at 09:06 Europe/London, James Strachan >>> wrote: >>> >>>> On Tuesday, August 26, 2003, at 07:13 pm, Dain Sundstrom wrote: >>>> >>>>> -1 for the reason below and I believe this type of requirement on >>>>> programmers will lead to worse exception handling. If a developer >>>>> has to add a new class for every exception message, they won't >>>>> throw exceptions. >>>> >>>> Then they're very lazy developers :) >>> >>> Absoultely. Being a lazy developer is great; learn to make the tools >>> work for you. In eclipse, you can say 'throw new >>> NonExistantException()' and then the red-squiggle underline gives >>> you a prompt to create the class... >> >> I for one hope that this idea dies right here. There are no lazy >> developers here. This is an opensource project and anyone that shows >> up is definitely not lazy. We have a certain amount of effort >> available to us, and we can choose to use it by making developers do >> tedious development tasks, because one day someone might find it >> useful, or we can point them at exciting stuff people need today. >> Also, if coding on geronimo is tedious because of our development >> rules, very few will join us and our over all effort pool will be >> even smaller. > > I don't see how encouraging developers to hide exception messages > inside Exception classes rather than litter them through the > application code makes development tedious or is particularly much > effort. It'll help us provide consistent exception codes or add i18n > later on with minimal refactoring overhead. > > >> Before we add any such rules, I think we need to thing about weather >> the rule is worth the effort expense and impact on our over all >> effort pool. > > However I concur that we should not be too strict on coding rules to > start with - we need lots of code writing & don't wanna put folks off > by being too religious about code conventions. Indeed we should be > focussing on ensuring the core container, component model & deployer > architecture is right so we can start filling in the J2EE stack rather > than worrying too much about the exact layout of the code - we can > refactor later. > > James > ------- > http://radio.weblogs.com/0112098/ >