News for hackers. Stuff that matters.
Re:C Strings and my slow descent to madness by chlorion on Thursday April 06, 2023 @09:15PM (#35476842)
There is no practical advantage to null terminated strings though.

It's not that they are "different", it's that they are extremely error prone and have poor performance for certain operations such as getting the length.

>But I don't have problems with C strings

Everyone thinks they are clever enough to use them and other parts of C without problems, and those people are the most dangerous.

There are no comments on this comment yet.