Категория: КНИГИ » ПРОГРАММИРОВАНИЕ
Principles of Package Design: Creating Reusable Software Components
/
Название: Principles of Package Design: Creating Reusable Software Components
Автор: Matthias Noback
Издательство: Apress
ISBN: 1484241185
Год: 2018
Страниц: 275
Язык: английский
Формат: true pdf/epub/mobi
Размер: 10.1 MB

Apply design principles to your classes, preparing them for reuse. You will use package design principles to create packages that are just right in terms of cohesion and coupling, and are user- and maintainer-friendly at the same time.
While writing this book, I assumed that you, the reader, are a programmer who uses an object-oriented programming language to create applications. This means that you have some experience creating classes, methods, interfaces, etc. and are trying to make all of these things work well together. While you know how to do that, you may also be wondering from time to time: “Am I doing this right?”
It’s not a bad question, and certainly an understandable one. As a programmer, you have to make so many choices in a single working day; it’s only natural to worry if you’re making all the right decisions. A bad decision today could lead to a lot of extra work later.
The first part of this book walks you through the five SOLID principles that will help you improve the design of your classes. The second part introduces you to the best practices of package design, and covers both package cohesion principles and package coupling principles. Cohesion principles show you which classes should be put together in a package, when to split packages, and if a combination of classes may be considered a "package" in the first place. Package coupling principles help you choose the right dependencies and prevent wrong directions in the dependency graph of your packages.
What You'll Learn:
- Apply the SOLID principles of class design
- Determine if classes belong in the same package
- Know whether it is safe for packages to depend on each other
Who This Book Is For:
Software developers with a broad range of experience in the field, who are looking for ways to reuse,share, and distribute their code







Комментарии 0
Комментариев пока нет. Стань первым!
Информация

Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.