On 2016-10-21 11:16 PM, bban...@ncsu.edu wrote:
Hello Josh

Thanks for your response.

We started working on validate function. I have a quick question from our team:

While defining the trait Validatable, do we have to add a single function 
validate or you will suggest to add separate functions for different purpose 
like ValueMissing, TypeMisMatch etc.

After which methods can be defined in the respective classes like 
HTMLInputElement.

Regards
Bhavya


I lean towards defining a single method for the time being. We can refactor it into multiple ones later if it looks like it will make the code clearer.

Cheers,
Josh
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to