Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Use just a switch to execute the appropriate handler
  2. Use Factory pattern alone
  3. Use Builder pattern to make a the config for the factory (Thanks Andras for the idea)
  4. Make handler builder