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 ...

  • Wed, 15 Jan 2014
  • Posted by jason
Read more...