Softwaredesign
Tidy First?: A Personal Exercise in Empirical Software Design
Kent Beck, 2023
Inhaltsverzeichnis des Buches
- Foreword
- Preface
- What Is Tidy First?
- Audience
- What You Will Learn
- Structure of the Book
- Why “Empirical” Software Design?
- How I Came to Write Tidy First?
- O’Reilly Online Learning
- How to Contact Us
- Acknowledgments
- Introduction
- I. Tidyings
- 1. Guard Clauses
- 2. Dead Code
- 3. Normalize Symmetries
- 4. New Interface, Old Implementation
- 5. Reading Order
- 6. Cohesion Order
- 7. Move Declaration and Initialization Together
- 8. Explaining Variables
- 9. Explaining Constants
- 10. Explicit Parameters
- 11. Chunk Statements
- 12. Extract Helper
- 13. One Pile
- 14. Explaining Comments
- 15. Delete Redundant Comments
- II. Managing
- 16. Separate Tidying
- 17. Chaining
- Conclusion
- 18. Batch Sizes
- 19. Rhythm
- 20. Getting Untangled
- 21. First, After, Later, Never
- Never
- Later
- After
- First
- Summary
- III. Theory
- 22. Beneficially Relating Elements
- Elements
- Relating
- Beneficially
- Beneficially Relating Elements
- 23. Structure and Behavior
- 24. Economics: Time Value and Optionality
- 25. A Dollar Today > A Dollar Tomorrow
- 26. Options
- 27. Options Versus Cash Flows
- 28. Reversible Structure Changes
- 29. Coupling
- 30. Constantine’s Equivalence
- 31. Coupling Versus Decoupling
- 32. Cohesion
- 33. Conclusion
- Appendix. Annotated Reading List and References
- Index
- About the Author