I just finished listening to The Pragmatic Programmer: 20th Anniversary Edition, 2nd Edition This book is packed with great information. The two chapters that really stood out to me were on "Refactoring" and "Test To Code".
I just finished listening to The Pragmatic Programmer: 20th Anniversary Edition, 2nd Edition.
This book is packed with great information. The two chapters that really stood out to me were on "Refactoring" and "Test To Code".
Refactoring: One of the critical tips they shared was that you shouldn't add features and refactor existing code simultaneously. I am guilty of this, and it always ends up coming back to bite me. And always have working tests of the code before refactoring! I have put these tips into practice over the past week, and its already paying off.
Test To Code: Unit testing is something I have been working on over the past year. This book points out how the practice of writing unit tests will change how you write the code in the first place. If I stick to writing tests, it will make refactoring much safer as well!
I highly recommend reading (listening) to this book! If you have some excellent reading suggestions, drop them in the comments.
- Brad