Y
Hacker News
new
|
ask
|
show
|
jobs
by
_mlbt
285 days ago
C style null terminated strings were a mistake. They are almost never the right answer. Even C itself should start transitioning to length prefixed strings instead.
1 comments
Suzuran
285 days ago
It's worse than that; Null-terminated strings both predate C and were considered harmful when C was created.
link