Refactor Money with TDD - 02
No Primitives - Again Since we're poking around the ExchangeRates area, one thing has stood out to me. public interface IExchangeRateTo { double To(Currency currency); } This interface has a method that returns a double... a Primitive. That's ... Nooooooo! What can we do to fix this? Clearly…