(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“Implementing a constant interface causes this implementation detail to leak into the class’s exported API. It is of no consequence to the users of a class that the class implements a constant interface. In fact, it may even confuse them. Worse, it represents a commitment: if in a future release the class is modified so that it no longer needs to use the constants, it still must implement the interface to ensure binary compatibility. If a nonfinal class implements a constant interface, all of its subclasses will have their namespaces polluted by the constants in the interface.”

Joshua Bloch, Effective Java : Programming Language Guide
Read more quotes from Joshua Bloch


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Effective Java : Programming Language Guide Effective Java : Programming Language Guide by Joshua Bloch
8,036 ratings, average rating, 422 reviews

Browse By Tag