3 ms·
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 t
by alphazero 17y ago
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 ...
- vorador 17y agoA compiler doesn't protect from segfaults.
- praptak 17y agoThis 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).
- gruseom 17y agoYep. It's amusing that people go on about how compilers catch their errors and then spend hours debugging InvalidCastExceptions.