"Parse, don't validate" through the years with C++
derekrodriguez.dev
"Parse, don't validate" through the years with C++
1–10 of 52 posts
Re: "Parse, don't validate" through the years with C++
#2Re: "Parse, don't validate" through the years with C++
#3What about everyone born before 1900?
Re: "Parse, don't validate" through the years with C++
#4Re: "Parse, don't validate" through the years with C++
#5First thought, assuming that birth year starts at 1900 is bad for a number of reasons; one of which, "process this list of authors and ..." What about everyone born before 1900?
But the pattern applies regardless of the validation logic.
Re: "Parse, don't validate" through the years with C++
#6Re: "Parse, don't validate" through the years with C++
#7First thought, assuming that birth year starts at 1900 is bad for a number of reasons; one of which, "process this list of authors and ..." What about everyone born before 1900?
It's just a toy example not a production ready birthday validation library.
Re: "Parse, don't validate" through the years with C++
#8First thought, assuming that birth year starts at 1900 is bad for a number of reasons; one of which, "process this list of authors and ..." What about everyone born before 1900?
Re: "Parse, don't validate" through the years with C++
#9Re: "Parse, don't validate" through the years with C++
#10Disregarding the article for a second, has anyone else had the pattern that "parse don't validate" makes sense in object oriented style, but less sense in functional style programming? Like parsing and validating blurs into each other.