22.02.2014 Views

Please, feel free to interrupt me at any time. - Stefan-Marr.de

Please, feel free to interrupt me at any time. - Stefan-Marr.de

Please, feel free to interrupt me at any time. - Stefan-Marr.de

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Which problem is <strong>to</strong> be solved?<br />

• Single inheritance<br />

• Simple but not<br />

expressive enough<br />

Vertebr<strong>at</strong>es<br />

• Leads <strong>to</strong><br />

• Co<strong>de</strong> duplic<strong>at</strong>ion<br />

• Inappropri<strong>at</strong>e<br />

hierarchies<br />

Dinosaurs<br />

Archaeoptrix<br />

fly()<br />

fly()<br />

Mammal<br />

B<strong>at</strong><br />

4/26/2008 1. Introduction <strong>to</strong> Traits<br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!