5 ms·
It was an example. It could very well have been checkForSomeNonCriticalThing(x).
by mav3rick 7y ago
It was an example. It could very well have been checkForSomeNonCriticalThing(x).
- AstralStorm 7y agoIt's the principle of checking separated from using which is wrong in almost all cases. Instead you should cause and/or handle errors! (Also known in Python as duck typing when applied to types.)