Introduction

Refactoring is the art of “improving the design of existing code”.

Archive for the ‘Refactoring’ Category

Saturday, July 12th, 2003

Refactoring: Improving The Design Of Existing Code [Chapter 1]

Today I started reading Martin Fowler’s book about Refactoring. When I saw the example code for the first chapter I was shocked because it wasn’t written in ActionScript but in Java. It was the first time I saw a Java code. So I sat down and tried to understand how the code works. It took at least one hour. After I understood the bigger part I thought why not translate the example into ActionScript syntax. So here is the final result. If you want the code step by step (like in the book) write me a mail.
(more…)