Comment

Comment by marcosdumay

It's not ADT, it's strict types. The reason you can't do "parse, don't validate" in C++ is because you can't assume anything is valid at the point you use the data.

What ADT does is give you enough flexibility so that a strict typing system doesn't suck.

parent marcosdumay 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton