lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven A Rowe" <sar...@syr.edu>
Subject RE: Fieldable, AbstractField, Field
Date Mon, 24 Mar 2008 22:49:59 GMT
On 03/24/2008 at 5:32 PM, Doug Cutting wrote:
> Chris Hostetter wrote:
> > in my opinion other blog he links to hits the nail on the head a
> > little better (i remember reading this last year) ...
> > 
> http://kirillosenkov.blogspot.com/2007/08/choosing-interface-vs-abstract-class.html
> 
> The rule of thumb there is good too:
> 
> "An interface should define at most one member."

In the comments on the blog post, the author (Kirill Osenkov) agrees with a dissenter (Alexander
Jung, a.k.a. "AJ.NET"), who re-states the rule of thumb as:

"An interface should define at most one contract."

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message