Prosthetic Conscience
Jason McBrayer's weblog; occasional personal notes and commentary
Fri, 07 Jan 2005
The futility of adding static typing to a dynamic language
Re: the threat of optional static type declarations being added to Python, a Smalltalk programmer chimes in. Basically, the argument is that type-checking, to actually be useful, needs the expressiveness that only exists at runtime. My take is that to do this properly in Python, you should use a function decorator to check that the arguments to your function are acceptable.
[ Posted: 09:32] | [ Category: ] | Permalink | Comments: 0 ]
Powered by PyBlosxom
Subscribe