Object Design Style Guide
Authors: Matthias Noback
ISBN-10: 1617296856
ISBN-13: 9781617296857
Edition 版次: 1st
Publication Date 出版日期: 2020-01-14
Print Length 页数: 288 pages
Book Description
By finelybook
Objects are the central concept of languages like Java,Python,C#. Applying best practices for object design means that your code will be easy to read,write,and maintain. Object Design Style Guide captures dozens of techniques for creating pro-quality OO code that can stand the test of time. Examples are in an instantly familiar pseudocode,teaching techniques you can apply to any OO language,from C++ to PHP.
Well-written OO code is a pleasure to read,modify,and debug. Elevate your coding style by mastering the universal best practices for object design presented in this book. These clearly presented rules,which apply to any OO language,maximize the clarity and durability of your codebase and increase productivity for you and your team.
Object Design Style Guide presents dozens of professional techniques for writing OO code. In it,veteran developer Matthias Noback lays out design rules for constructing objects,defining methods,changing and exposing state,and much more. All examples use instantly familiar pseudocode,so you can follow along in the language you prefer. You’ll go case by case as you explore important scenarios and challenges for object design and then walk through a simple web application that demonstrates how different types of objects can work together effectively.
What’s inside
Universal design rules for a wide range of objects
Best practices for testing objects
A catalog of common object types
Exercises for each chapter to test your object design skills
contents
foreword
preface
acknowledgments
about this book
about the author
about the cover illustration
Chapter 1: Programming with objects: A primer
Chapter 2: Creating services
Chapter 3: Creating other objects
Chapter 4: Manipulating objects
Chapter 5: Using objects
Chapter 6: Retrieving information
Chapter 7: Performing tasks
Chapter 8: Dividing responsibilities
Chapter 9: Changing the behavior of services
Chapter 10: A field guide to objects
Chapter 11: Epilogue
Appendix: Coding standard for the code samples
index