Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Static typing is security theater for programmers

Name: Anonymous 2014-06-25 16:01

http://blog.metaobject.com/2014/06/the-safyness-of-static-typing.html
Face it, Haskelitists: There are not a lot of bugs that can be caught by a type system. Such it up and use texting like the rest of us.

Name: Anonymous 2014-06-26 17:06

>>27
They can statically check that ACLs/credentials are enforced, statically check SQL queries, statically enforce taint checks and so on. Some type systems are turing complete, and can check anything that eventually does compile. You can do a lot of this in C, but then implicit coercion spoils everything.

Not all type systems can do static bounds-checking but dependent type systems can. Dependent types are halting equivalent in general, but I only need to concede the point if you can supply a useful program that is halting equivalent. It hasn't been done.

Hell, Xavier LeRoy wrote a verified C compiler with his Coq. From what I hear it admits no compiler bugs and won't emit code with UD.

Resource disposal is an odd complaint. C++ programmers and GC langs with poor type systems tend screw it up.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List