|
|
|
|
|
by fc417fc802
25 days ago
|
|
Arrays as glorified pointers were the mistake. Null terminated strings are a natural result of that design choice. 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. |
|