Andrew Channels Dexter Pinion

Wherein I write some stuff that you may like to read. Or not, its up to you really.

December 23, 2004

Static Typing in Python

Guido (all hail the BDFL) is talking about adding static typing to Python.

Frankly, I'm not convinced. But then, what do I know. I would have thought that decorators (introduced in Python 2.4) would have been sufficient for this. I must admit that on the odd occasion when I've thought that this would be useful I've never found that my code needs the checking. Where inputs are variable, for instance where they are user entered, I've always found that checking the input values is sufficient. But then that's probably just me.

Posted by Andy Todd at December 23, 2004 08:28 PM