Y
Hacker News
new
|
ask
|
show
|
jobs
by
throwaway27448
24 days ago
I thought that parsing implied validation. Is this not the case?
1 comments
skydhash
23 days ago
Validation asserts what’s in the data type, while parsing just creates it. Especially in the context of C structures where you can just create it from a blob of bytes.
link
throwaway27448
23 days ago
Ah, I suppose in my mind parsing precludes the idea of invalid data.
link