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

“Inheritance adds complexity to a program, and, as such, it's a dangerous technique. As Java guru Joshua Bloch says, "Design and document for inheritance, or prohibit it." If a class isn't designed to be inherited from, make its members non-virtual in C++, final in Java, or non-overridable in Microsoft Visual Basic so that you can't inherit from it.”

Steve McConnell, Code Complete
Read more quotes from Steve McConnell


Share this quote:
Share on Twitter

Friends Who Liked This Quote

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

1 like
All Members Who Liked This Quote



This Quote Is From

Code Complete Code Complete by Steve McConnell
9,456 ratings, average rating, 446 reviews
Open Preview

Browse By Tag