|Language:||English, Arabic, Dutch|
|ePub File Size:||22.45 MB|
|PDF File Size:||9.68 MB|
|Distribution:||Free* [*Registration needed]|
I discovered that I could be a better programmer by using only the good parts and avoiding the bad parts. In the classical languages such as Java , inheritance or extends provides two useful services.
First, it is a form of code reuse. If a new class is mostly similar to an existing class, you only have to specify the differences. Patterns of code reuse are extremely important because they have the potential to significantly reduce the cost of software development.
The other benefit of classical inheritance is that it includes the specification of a system of types. This mostly frees the programmer from having to write explicit casting operations, which is a very good thing because when casting, the safety benefits of a type system are lost.
What matters about an object is what it can do, not what it is descended from. Start on.
Show related SlideShares at end. WordPress Shortcode.
Published in: Full Name Comment goes here. Are you sure you want to Yes No.
Be the first to like this. No Downloads. Views Total views.