Milan Nankov – Blog

Books I Recommend – Refactoring: Improving the Design of Existing Code by Martin Fowler 2010/06/11



Yet another classic. This book is an extensive compilation of refactorings that range from providing meaningful names for variable to collapsing class hierarchies. Every pattern is introduced in three stages – Motivation, Mechanics, and Example. The Motivation section presents the problem that a refactoring is trying to solve. Then the Mechanics section explains how a refactoring should be conducted. When a refactoring is a combination of other refactorings the author provides references to those refactorings so that you can easily find them in the book. The last part provides a step-by-step example of how a refactoring can be applied to existing code.

The book is neatly organized and can be used a reference book for your everyday programming endeavors.

Comments (0)

Books I Recommend – Clean Code by Robert C. Martin 2010/06/10


Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees.


Here is another one of my favorite books. I am not sure if this book needs introduction but if you haven’t heard about it or read it Clean Code is one of THE books on the art, I would say, of writing code. The book is all about writing clear, readable, and flexible code.

The first part of the book identifies patterns and best practices for writing clean code. Fortunately the book is not simply a compilation of patterns – in the second part of the book Robert C. Martin demonstrates how those patterns fit into real life refactoring scenarios. In the final chapter the author presents a list of code “smells” that can help you identify bad code.

Great book! Enjoy.

Comments (0)