Re:Smalltalk: Our Death has been Exaggerated
by alphazero on Sunday May 10, 2009 @02:37PM
(#602351)
He seems to miss the point that TDD is more critical in a weakly typed/dynamically typed system. Yes, C, C++, and Java didn't have TDD when they started, but there was this thing called a compiler ...
[ Parent
| on HN ]
This might be true for a theoretical perfect strongly typed language (SML comes close), but whatever C and C++ might gain by static typing, they lose by things like casts to (void *) and of course their unsafe pointers. Even Java isn't very type-safe, especially when it started - collections held Objects, which you had to downcast (bye static type-safety, hello runtime errors).
Yep. It's amusing that people go on about how compilers catch their errors and then spend hours debugging InvalidCastExceptions.
A compiler doesn't protect from segfaults.
Look up "more" in the dictionary.