News for hackers. Stuff that matters.
Re:V8n – Fluent validation library for JavaScript by coldtea on Monday July 16, 2018 @03:50PM (#17544486)
You even answered your own question.

Your validation code is 293 characters and 8 lines, the example code is 95 characters and 6 lines and does more tests.

And that's not even including your helpers which if one uses that lib, they wont have to write.

So, you wrote like 4 times the code, and made it even less flexible (eg. hardcoding the test for 100 in your isTestScore check).

There are no comments on this comment yet.