Implementation Patterns
Paperback Engels 2007 1e druk 9780321413093Samenvatting
Software Expert Kent Beck Presents a Catalog of Patterns Infinitely Useful for Everyday Programming
Great code doesn't just function: it clearly and consistently communicates your intentions, allowing other programmers to understand your code, rely on it, and modify it with confidence. But great code doesn't just happen. It is the outcome of hundreds of small but critical decisions programmers make every single day. Now, legendary software innovator Kent Beck-known worldwide for creating Extreme Programming and pioneering software patterns and test-driven development-focuses on these critical decisions, unearthing powerful 'Implementation patterns' for writing programs that are simpler, clearer, better organized, and more cost effective.
Beck collects 77 patterns for handling everyday programming tasks and writing more readable code. This new collection of patterns addresses many aspects of development, including class, state, behavior, method, collections, frameworks, and more. He uses diagrams, stories, examples, and essays to engage the reader as he illuminates the patterns. You'll find proven solutions for handling everything from naming variables to checking exceptions.
This book covers:
- The value of communicating through code and the philosophy behind patterns
- How and when to create classes, and how classes encode logic
- Best practices for storing and retrieving state
- Behavior: patterns for representing logic, including alternative paths
- Writing, naming, and decomposing methods
- Choosing and using collections
- Implementation pattern variations for use in building frameworks
'Implementation Patterns' will help programmers at all experience levels, especially those who have benefited from software patterns or agile methods. It will also be an indispensable resource for development teams seeking to work together more efficiently and build more maintainable software. No other programming book will touch your day-to-day work more often.
Specificaties
Lezersrecensies
Inhoudsopgave
1. Introduction
-Tour Guide
-And Now...
2. Patterns
3. A Theory of Programming
-Values
-Principles
-Conclusion
4. Motivation
5. Class
-Class
-Simple Superclass Name
-Qualified Subclass Name
-Abstract Interface
-Interface
-Abstract Class
-Versioned Interface
-Value Object
-Specialization
-Subclass
-Implementor
-Inner Class
-Instance-Specific Behavior
-Conditional
-Delegation
-Pluggable Selector
-Anonymous Inner Class
-Library Class
-Conclusion
6. State
-State
-Access
-Direct Access
-Indirect Access
-Common State
-Variable State
-Extrinsic State
-Variable
-Local Variable
-Field
-Parameter
-Collecting Parameter
-Optional Parameter
-Var Args
-Parameter Object
-Constant
-Role-Suggesting Name
-Declared Type
-Initialization
-Eager Initialization
-Lazy Initialization
-Conclusion
7. Behavior
-Control Flow
-Main Flow
-Message
-Choosing Message
-Double Dispatch
-Decomposing (Sequencing) Message
-Reversing Message
-Inviting Message
-Explaining Message
-Exceptional Flow
-Guard Clause
-Exception
-Checked Exceptions
-Exception Propagation
-Conclusion
8. Methods
-Composed Method
-Intention-Revealing Name
-Method Visibility
-Method Object
-Overridden Method
-Overloaded Method
-Method Return Type
-Method Comment
-Helper Method
-Debug Print Method
-Conversion
-Conversion Method
-Conversion Constructor
-Creation
-Complete Constructor
-Factory Method
-Internal Factory
-Collection Accessor Method
-Boolean Setting Method
-Query Method
-Equality Method
-Getting Method
-Setting Method
-Safe Copy
-Conclusion
9. Collections
-Metaphors
-Issues
-Interfaces
-Implementations
-Collections
-Extending Collections
-Conclusion
10. Evolving Frameworks
-Changing Frameworks without Changing Applications
-Incompatible Upgrades
-Encouraging Compatible Change
-Conclusion
Appendix A: Performance Measurement
-Example
-API
-Implementation
-MethodTimer
-Canceling Overhead
-Tests
-Conclusion
Bibliography
General Programming
Philosophy
Java
Index
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan