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.
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
HTML, XHTML & CSS All-In-One For Dummies
I love the Internet, and if you picked up this book, you probably do, too. The Internet is dynamic, chaotic, exciting, interesting, and useful, all at the same time. The Web is pretty fun from a user’s point of view, but that’s only part of the story. Perhaps the best part of the Internet is how participatory it is. You can build...
Memory Architecture Exploration for Programmable Embedded Systems Continuing advances in chip technology, such as the ability to place more
transistors on the same die (together with increased operating speeds) have
opened new opportunities in embedded applications, breaking new ground in
the domains of communication, multimedia, networking and entertainment.
New consumer products, together...
Interactive C#: Fundamentals, Core Concepts and Patterns
Discover object-oriented programming with core concepts of C# in this unique tutorial. The book consists of four major sections which cover 15 core topics - nine of them are dedicated to object-oriented programming, five of them are dedicated to advanced concepts of C#, and one of them is...
Mastering the Nikon D600
Mastering the Nikon D600 by Darrell Young provides a wealth of experience-based information and insights for owners of the new D600 camera. Darrell is determined to help the user navigate past the confusion that often comes with complex and powerful professional camera equipment.
This book explores the...
Bridge For Dummies
Bridge, as any player will tell you, is simply the best card game ever. It’s challenging—each hand presents a different set of conditions you must figure out and solve. It's very social—you play with a partner and two opponents. And best of all—it's fun.
Bridge For Dummies, 2E gives you a...
C# 4.0 Pocket Reference
When you're programming C# 4.0 and need a little help, this tightly focused and practical book tells you exactly what you need to know -- without long introductions or bloated examples. It's ideal as a succinct quick reference or as a guide to get you rapidly up to speed if you already know Java, C++, or an earlier version of...