Re:John Carmack: “I just dumped the C++ server I wrote for a...
by mpdehaan2 on Wednesday March 18, 2015 @08:03AM
(#9224840)
Type errors in programs don't come up nearly enough to warrant languages completely dwelling on them so much. Now, say, consistent argument order does help a lot if you are writing your own libraries, but I wouldn't place the blame there on the language.
[ Parent
| on HN ]
Re:John Carmack: “I just dumped the C++ server I wrote for a...
by rkrzr on Wednesday March 18, 2015 @08:59AM
(#9225082)
Type errors come in more shapes than the obvious one: e.g. Untyped data structures like dictionaries are a frequent source of error in Python (KeyError e.g.) or non-uniform lists. These are pretty common bugs, I'd argue, which simply cannot happen in statically typed languages like Haskell.