4 ms·
You can not catch a keyerror at run time. You can not check for user input with a type system. Those have nothing to do with types. Input and output are out of
by sametmax 10y ago
You can not catch a keyerror at run time. You can not check for user input with a type system. Those have nothing to do with types. Input and output are out of your control, they need check sanitizing, and dynamic language are actually great at that.
- pka 10y agoYou are wrong. You can very much catch "key errors" at compile time.