[Baypiggies] Type checking - argument for it being bad practice?
sfseth at gmail.com
Sat Oct 9 18:18:46 CEST 2010
Thanks for all your thoughts, it's been educational. I pretty much agree
with everything that's been said - I don't know the root of the "avoid type
checking!" school and maybe I was misinterpreting, but this has all been
About the "it depends" - totally. I might be a more paranoid programmer
than average, but it's great to see so many takes on this problem space.
On Sat, Oct 9, 2010 at 9:09 AM, Charles Merriam
<charles.merriam at gmail.com>wrote:
> At the risk of diving into the religious debate, I'll add my thoughts:
> 1. Type checking trades off catches programming errors at the cost of
> programmer time. Specific circumstances affect the answer, such has
> how many different programmers will use a module.
> 2. There are other trade offs related to type checking. For example,
> using the prefix "r" in front of raw input strings provides an
> equivalent trade-off without using the internal type system.
> As with any trade-off, it is safe to answer "it depends".
> Charles Merriam
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies