3 ms·
This depends a whole lot on context. There are lots of places where silent truncation is the correct behavior. I don't disagree that return values should be c
by dllthomas 10y ago
This depends a whole lot on context. There are lots of places where silent truncation is the correct behavior.
I don't disagree that return values should be checked, or that things should maybe be more explicit if you want truncation, but calling aborting "the only safe thing" is wrong.