Tidy First?
Author | : Kent Beck |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 125 |
Release | : 2023-10-17 |
ISBN-10 | : 9781098151218 |
ISBN-13 | : 1098151216 |
Rating | : 4/5 (216 Downloads) |
Download or read book Tidy First? written by Kent Beck and published by "O'Reilly Media, Inc.". This book was released on 2023-10-17 with total page 125 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.