Tag Archives: design patterns

Keep Method Signatures Simple

With objects you don’t pass in everything the method needs; instead you pass enough so the method can get to everything it needs.

Accommodating Code Changes

A fundamental rule of thumb is to put things together that change together, but there are exceptions.

Add Unit Test When Bug Is Found

When a bug is found, you should always add a unit test that exposes the bug.