
15 Jan
The Dictionary of Func
Early in my programming career, I was chastised for using a case statement in a simple factory. "You should be using a dictionary" he told me. "It makes the code cleaner and prevents adding too much logic in the factory." Although I wasn't prepared to handle the architecture concepts ...