30 likes | 158 Vues
This guide covers key aspects of object-oriented design focusing on the "Reuse Drama" and how to effectively utilize code reuse. It provides practical tutorials, including how to create a Sky Dome and lighted objects in Contra. Additionally, it addresses common issues that hinder code reuse, such as distrust in others' code, dislike of dependencies, and poor documentation. By understanding these challenges, developers can make informed decisions at reuse decision points and improve their programming practices overall.
E N D
Goals • Discuss the “Reuse Drama” • Tutorials • How to make a Sky Dome • How to make a lighted object in Contra • How to make Simple Physics
Reuse Drama • Code reuse and object orientation break down at reuse decision time • Common reasons • Distrust in other people’s code • Dislike of dependencies • Bad documentation