Abstract vs. Concrete Parameters: Contradictory Patterns for Testable Designs

Now I can state the general rule: to make software controllable, pass concrete parameters when tests don't need much flexibility
and pass abstract parameters when they need more flexibility.


テスタブルな設計の話 by Kent Beck.
あるオブジェクトのデザインとして、パラメータに抽象的な値を渡すか、そうではなくプリミティブな値を渡すかは
制御しやすくしたいのか、拡張性を高くしたいのかで決まるというお話。


読んでみるとええとおもいます^^