Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


It's worse than that; Null-terminated strings both predate C and were considered harmful when C was created.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: