lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Fieldable, AbstractField, Field
Date Mon, 24 Mar 2008 21:32:12 GMT
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."

> Interesting related note: there's another recent blog where the lack of 
> interfaces in Lucene (specificly for the Query hierarchy) is listed as one 
> of the main reasons "Why Lucene isn't that good" ...
> 
> 	http://www.jroller.com/melix/entry/why_lucene_isn_t_that

Perhaps Lucene should have an FAQ about interfaces versus classes?

Doug


---------------------------------------------------------------------
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