I agree with the very first comment to the message posted on
theserverside.com. But I also agree Chris's comment

 - Make all classes, except those intended to be subclasses, as final. Which
ones?

This is trickier. You might want to let the API stabilize a bit and see
what people actually do subclass before going down this path.



[...]
>  - Make all classes, except those intended to be subclasses, as final. Which
> ones?
>  - Make classes whose instances don't need to be modified as immutable
> (members are final).

Be careful.

Cf. Michael Feathers: It's time to deprecate final
<http://blogs.objectmentor.com/ArticleS.MichaelFeathers.ItsTimeToDeprecateFinal>
<http://www.theserverside.com/news/thread.tss?thread_id=40660>


Best regards,
Lars
--
http://www.semagia.com

Reply via email to