4 ms·
> almost never I good idea to assert in a library, unless the error is truly unrecoverable Like getting an input that is too long? :) I think a library asser
by thayne 2y ago
> almost never I good idea to assert in a library, unless the error is truly unrecoverable
Like getting an input that is too long? :)
I think a library asserting that the preconditions of its arguments are true is fine.