Hacker News new | ask | show | jobs
by geon 282 days ago
Sure. Then you return that validated data structure from the parsing function and never touch the invalid data structure again. That's exactly what "Parse, don't validate" means.