refactoring Archive

Agile Engineering for the Web

Test-driven development, refactoring, evolutionary design… these Agile engineering techniques have long been established for back-end code. But what about the front-end? For too many teams, it’s dismissed with a “JavaScript sucks!” and unreliable, brittle code. This session

Refactor your Specs!

Even in an agile world, specifications often go too far and describe solutions with too much details; all these premature decisions constraint the implementation and remove opportunities. There is a remedy: refactoring the specs, even before refactoring

Refactoring Rails Legacy Apps with APIs and Messages

Ruby Rails as a framework is famous for getting an application up and running quickly, but the very paradigms that make it so easy at the start can lead to maintenance nightmares down the road. Successful applications

Code Smells: Your Refactoring Cheat Codes

Sure, the TDD cycle is red-green-refactor but what exactly are we refactoring? We just wrote the code, it’s green, and it seems reasonable to us. Let’s move onto the next test. We’re have a deadline, remember? Whether

Therapeutic Refactoring

Refactoring can pry panic’s fingers away from your poor, overburdened adrenal glands and restore your sanity. Not that it went missing, of course. Never that!