One of the major difference I've found when making python libraries and code for...

@bearmine@gamepad.club

One of the major difference I've found when making python libraries and code for myself, vs when I was doing it for colleagues at work, is I don't put all the type checking code into the libraries for my own use.

I got so many reports at work where people were just passing the wrong type into my functions. So I started throwing type exceptions (where it made sense) and the reports virtually disappeared.

But holy moly do I hate writing type checking code, so I'm doing it for myself.