Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 10368 invoked from network); 3 Dec 2003 23:40:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Dec 2003 23:40:08 -0000 Received: (qmail 67025 invoked by uid 500); 3 Dec 2003 23:39:25 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 66960 invoked by uid 500); 3 Dec 2003 23:39:24 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 66877 invoked from network); 3 Dec 2003 23:39:23 -0000 Received: from unknown (HELO smtp-out3.blueyonder.co.uk) (195.188.213.6) by daedalus.apache.org with SMTP; 3 Dec 2003 23:39:23 -0000 Received: from [10.0.0.2] ([82.38.66.131]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Wed, 3 Dec 2003 23:39:37 +0000 Mime-Version: 1.0 (Apple Message framework v606) In-Reply-To: <70575F94D926D711BABD006008F614AB3496BE@SRVEXCHANGE> References: <70575F94D926D711BABD006008F614AB3496BE@SRVEXCHANGE> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: robert burrell donkin Subject: Re: [digester] variable expansion Date: Wed, 3 Dec 2003 23:37:34 +0000 To: "Jakarta Commons Developers List" X-Mailer: Apple Mail (2.606) X-OriginalArrivalTime: 03 Dec 2003 23:39:37.0098 (UTC) FILETIME=[B678F6A0:01C3B9F6] 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 hi ash On 3 Dec 2003, at 09:59, ASHWIN Suresh wrote: > Sorry to jump in to this thread this way, and perhaps it is too late > now. > But, have the people here considered using the term "resolve" > for this concept? > > Perhaps the interface could be named Resolver, with the method > resolve(). > > I can think of ${foo} > xyz as resolving the definition rather than > simple > substitution, > thow at a lower level of abstraction, it is substitution. > > If this has been considered and vetoed, please ignore my email. i'm usually pretty bad on naming at the best of times - and worse when i'm tied (too many lists, too little sleep 8-) but i think that substitution is what the top level interface does (rather than resolution). resolver is also an overused word in xml. we'd probably need to prefix it with an adjective - VariableResolver, say. i think that VariableResolver is probably a slightly better name than VariableExpander for the interface decoupling the variable expansion/resolution implementation but i think that simon's original name is very reasonable. i'd be happy to go with the consensus on this. comments anyone? > One more point: > >> The spelling "substituter" feels more natural to me than >> "substitutor". >> >> cf.: >> to write --> writer >> to drive --> driver >> to expand --> expander > > > For Latinate words, the pattern is usually -or. > Constructor, translator, delegator, etc. > Whenever, the agent form is formed out of removal of -ion, the > preferred > suffix is -or. > Thus, the more appropriate form is substitutor. > Again, perhaps this was already discussed. you seem to have put a lot more thought into it than i did :) i intended it as a bit of a play on words - substitutor ~ terminator. digester has an 'e' but 'o' is probably better grammar. again, i be happy to bow to consensus. views anyone? - robert --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org