This project has moved. For the latest updates, please go here.

Which system is better? The old or the new?

Coordinator
Aug 8, 2011 at 3:28 PM

I want to know which system is better. So if it´s the old, HVS 4 will be based on the old concept.

Old System:

  • IProperyValidator-interface
  • a class for each validator
  • you need propertys to make different validation-schemes per one validator possible

New System:

  • Func<>-delegate methods as validation-method
  • A (static) class can contain more than one validation-method
  • no propertys you must set in the constructor of the Validator
  • faster writing of new validators / less code
  • more flexible and easier to extend

 

So please answer here and say which system is better in your opinion.
Thanks :)