9 is objectively better if you have untrusted inputs and need a stable failure mode.
That was precisely the reason. I prefer strongly typed languages languages, so it just felt gross to write that