Check for duplicate validations
It can be the case that due to copy-paste a validation can be left unchanged, leading to duplicated validation, e.g. :
firstName :: String (validate(firstName.length() > 0, “Invalid first name”))
Submitted on 8 November 2010 at 16:00
lastName :: String (validate(firstName.length() > 0, “Invalid first name”))
Log in to post comments