3 ms·
"Confined to the type system" is funny language. Which type system? I have personally never felt confined to any type system except for C++'s and Java's. And
by SamReidHughes 19y ago
"Confined to the type system" is funny language. Which type system? I have personally never felt confined to any type system except for C++'s and Java's. And even then, it's not so much the type system as it is the verbiage needed to define new types. I don't mean to go all Haskell-zealot on this comment's readers, but Haskell's would be an example of a type system where I have not felt confined. I am confined in the sense that I am confined to the three dimensions of this universe, but not any more than that. Wanting to violate its type system would be like wanting to walk in the direction of the fourth dimension. But then again, you can (and should not) violate its type system if you really want to do so.
Also, static typing can help with testing, since if you know your types, you have handy tools like QuickCheck that you can use.
> "Type verification provides very little confidence that an application works."
So what? It makes finding errors and fixing them faster and easier. And it makes making changes easier, unless you're changing the behavior of stateful objects.