[Baypiggies] Type checking - argument for it being bad practice?
Charles Merriam
charles.merriam at gmail.com
Sat Oct 9 18:09:20 CEST 2010
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
More information about the Baypiggies
mailing list