by af78 · 6mo ago · 0 comments
Null-terminated strings are the other billion-dollar mistake, along with the original NULL.
Null pointers however were not a mistake, despite how popular slandering them has become. A reasonable case can be made that any modern language should enforce null checks (and bound checks, and ...) or at the least provide them by default but that is neither here nor there as far as C is concerned.