Back to Tags

#clean code

Code From Spec — Small, Tested and Idiomatic

Write code from a spec in your stack and style: a short plan, the implementation, tests for the edge cases, and a list of every assumption made, instead of a wall of code you have to reverse-engineer.

Nigel Yoshida

Refactor Plan — Safe Steps, Same Behavior

Plan a refactor you can ship safely: what's wrong with the code now, the target design, small steps that keep behavior unchanged, tests to add first, and how to roll each step back.

Nigel Yoshida