Книга: Practical Common Lisp
Good Object-Oriented Design
Good Object-Oriented Design
That's about it for the main features of Common Lisp's object system. If you have lots of experience with object-oriented programming, you can probably see how Common Lisp's features can be used to implement good object-oriented designs. However, if you have less experience with object orientation, you may need to spend some time absorbing the object-oriented way of thinking. Unfortunately, that's a fairly large topic and beyond the scope of this book. Or, as the man page for Perl's object system puts it, "Now you need just to go off and buy a book about object-oriented design methodology and bang your forehead with it for the next six months or so." Or you can wait for some of the practical chapters, later in this book, where you'll see several examples of how these features are used in practice. For now, however, you're ready to take a break from all this theory of object orientation and turn to the rather different topic of how to make good use of Common Lisp's powerful, but sometimes cryptic, FORMAT function.
- 17. Object Reorientation: Classes
- Creating and Deleting Device Objects
- Scaling makes your object darker?
- 5.1.1. The Image Object
- Переопределение System.Object.GetHashCode()
- Object Orientation
- Class and Object Variables
- 5.1.2. Architecture Objects
- 1.5. DESIGN ISSUES
- 2.5.2. Design Issues
- 4.1.3. Design Issues for Threads Packages
- 4.3.2. Design Issues for Processor Allocation Algorithms