Closed parhelium closed 9 years ago
Yes right, sorry for that. I can keep up correlation between documentation and the code because many things are rapidly changing. I will fix that :). Thanks for informing.
Do you plan to strip word Validation
from all methods in the future ?
I had this idea but finally I've decided that the Validation
world will stay there. Of course stripping it would make methods sorter and the code more minimalistic but I prefer descriptive method names. When seeing getErrors
, we don't know what errors. But getValidationErrors
is obvious. I was changing mind in this manner lately but I've chosen longer names. I hope it's now a big problem? Maybe do you have some clue, idea about naming?
I like more descriptive names either. I think it is good idea to stay with getValidationErrors
naming.
Ok so I will stay with descriptive names
It looks like in docs you are using convention :
post.getErrors()
, but in code it is undefined. However previous versionpost.getValidationErrors()
works fine. The same thing happens for other methods.