CLEAN stands for the key code qualities that drop the cost of ownership for the code we write: Cohesive, Loosely coupled, Encapsulated, Assertive, and Non-redundant. In Create CLEAN Code we'll use the Single Responsibility Principle to increase cohesion, use abstractions to reduce coupling, come to understand encapsulation as hiding "how" with "what" to make code simpler to understand, increase the assertiveness of code by keeping state with behavior, learn how to better distinguish between redundancy and duplication, and see how testability directly reflects code quality.
Many external attributes of quality software-software that's free from defects and easy to maintain-are reflections of these internal code qualities. When classes and methods are CLEAN, they're less prone to mistakes and far easier to debug, test, and maintain. Join us, take a deep dive into the code qualities that make software more maintainable and less bug-friendly. Create software that not only provides value now but is also easy to change and extend so it can continue to deliver value far into the future.
David Scott Bernstein is the author of the new book Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software. It's an insider's view of the software industry drawn from his decades of hands-on experience as a software developer, trainer, and consultant to some of the biggest players in the business. With its emphasis on technical excellence, the primary audience for Beyond Legacy Code is software development managers and their teams.
David's continuing passion for software design and construction has led him to train more than 8,000 developers since 1989 at hundreds of companies around the world including Amazon, Yahoo, and Microsoft-where his book's advice has been successfully applied. His consulting firm, To Be Agile (http://ToBeAgile.com ), helps developers adopt Extreme Programming practices such as test-first development, pair programming, and refactoring.