Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Parse, Don't Validate (2019). Parent comment
Validation would be:
Email email = new Email(anyString); email.validate();
Either<Error, ValidEmail> eEmail = Email.from(anyString);
There are no comments on this comment yet.
Validation would be:
Parsing (in OP's context) would be: