Find & Share Quotes with Friends
“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.”
―
Effective Java : Programming Language Guide
Share this quote:
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
by
Joshua Bloch8,118 ratings, average rating, 427 reviews
Browse By Tag
- love (102810)
- life (81280)
- inspirational (77834)
- humor (45502)
- philosophy (32291)
- inspirational-quotes (28823)
- god (27182)
- wisdom (25430)
- romance (25109)
- truth (25059)
- poetry (24804)
- life-lessons (23182)
- quotes (21598)
- death (21082)
- happiness (19090)
- hope (19054)
- faith (18798)
- inspiration (18445)
- relationships (16320)
- spirituality (16301)
- motivational (16142)
- religion (15633)
- life-quotes (15486)
- writing (15245)
- love-quotes (15028)
- success (14299)
- motivation (14171)
- time (13120)
- science (12394)
- motivational-quotes (12215)
