2 ms·
> Liberty to do any particular thing, ever, increases the ability to do something wrong. The difference is that "liberty" tends to increase one's ability to do
by wyager 13y ago
> Liberty to do any particular thing, ever, increases the ability to do something wrong.
The difference is that "liberty" tends to increase one's ability to do both right and wrong. Dynamic typing tends to only increase one's ability to do wrong.
- pdonis 13y ago> Dynamic typing tends to only increase one's ability to do wrong. Apparently you place no value on programmer time. Why should I have to waste time with type declarations that add no benefit to my program? Why should I have to construct an artificial type hierarchy just so I can write common code to deal with two different kinds of objects that are duck-type compatible but don't happen to share a common base type that the type system recognizes? I agree that there are certain kinds of applications where static typing can be a benefit that is worth spending the extra programmer time; but the claim you are making is much stronger than that.