News for hackers. Stuff that matters.
Re:V8n – Fluent validation library for JavaScript by steve_adams_86 on Sunday July 15, 2018 @09:40PM (#17538175)
Why I like AJV or similar options is because you get to declare what you expect with a simple schema and it rarely needs to get complicated.

It's more overhead than simple functional approaches combined with conditional statements, but I think it's more approachable. Otherwise I find it doesn't leave too much of a margin for error and it's reasonably fast.

It's a personal preference, but I prefer it far more than a fluent interface. I actually avoid those now despite really loving them in the past.

There are no comments on this comment yet.