Python: Static vs. Dynamic
Ian Bickin's article discussed some other articles:
[...] one way to decrease bugs is testing, but another way is to decrease the amount of code. Code deleted is code debugged. Static typing can decrease the number of bugs, but decreasing the amount of code is a much, much more effective way to decrease bugs.Python is both dynamically typed (like VBasic and strongly typed (like Java), the best of both worlds.
...
Static type defenders complain about the combinatorial type interactions in dynamically typed languages -- how can you test all the code paths, given all the possible types? But their languages lead to combinatorial code, which is far worse: for many classes of hard problems, they can't solve them once, they have to solve them everytime they are encountered. Ouch.
Comments