[Baypiggies] Type checking - argument for it being bad practice?
Seth Friedman
sfseth at gmail.com
Sat Oct 9 18:18:46 CEST 2010
Hey everyone,
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
very interesting.
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.
Thanks again,
~seth
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:
> http://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20101009/6dcac81d/attachment.html>
More information about the Baypiggies
mailing list