Hacker News new | ask | show | jobs
by nsajko 1820 days ago
The point is that validation is (or should/can be) a byproduct of parsing. I.e., you shouldn't "do both", rather the validation should be encompassed by the parsing, as much as it makes sense.