Tidy First? - Helion
ISBN: 9781098151201
stron: 124, Format: ebook
Data wydania: 2023-10-17
Księgarnia: Helion
Cena książki: 135,15 zł (poprzednio: 157,15 zł)
Oszczędzasz: 14% (-22,00 zł)
Tidying up messy software is a must. And that means breaking up the code to make it more readable, and using guard clauses and helping functions to make it understandable. In this practical guide, author Kent Beck, creator of Extreme Programming and pioneer of software patterns, suggests when and where you might apply tidyings in your code.
Instead of trying to master tidying all at once, this book lets you try out a few examples that make sense for your problem. If you have a big function containing many lines of code, you'll learn how to logically divide it into smaller chunks. Along the way, you'll learn the theory behind software design: coupling, cohesion, discounted cash flows, and optionality.
Osoby które kupowały "Tidy First?", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Tidy First? eBook -- spis treści
- 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?
- OReilly 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. Constantines Equivalence
- 31. Coupling Versus Decoupling
- 32. Cohesion
- 33. Conclusion
- A. Annotated Reading List and References
- Index