Need to know the type of an object? Let me make a brief argument: No, you don’t. Just use the object as if it was whatever you expect it to be, and handle any errors that result.

Need to know the type of an object? Let me make a brief argument: No, you don’t. Just use the object as if it was whatever you expect it to be, and handle any errors that result.

Thanks for the reminder: http://www.siafoo.net/article/56

Debating whether and how to check that variables type to ensure it’s used properly? Don’t waste your time, says the Python philosophy. Liberate yourself from countless brain cells calculating potential coding oversights that will likely never be or if they are, won’t be as bad as you fear…

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to LinkedIn Post to StumbleUpon Post to Technorati