3 ms·
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 in
by _mlbt 1y 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.
- Suzuran 1y agoIt's worse than that; Null-terminated strings both predate C and were considered harmful when C was created.