Comment Re: C (and here are somemore chars to satisfy the (Score 3, Informative) 40
It is surprising how often I encounter strings with NULs in the middle. Bytes have 256 different values, and sooner or later someone wants to transmit all 256 values in what was an ascii text-based conversation. HTTP is a good example. The conversation starts as a normal group of strings, until the header says "Content-Length:" and a bunch of binary data follows later.
Another issue in C is that strings are used for both immutable strings and for string buffers. Java makes it clear that string buffer is going to be something that grows, and a string is immutable. This allows optimizations like keeping the string length and maximum buffer size handy when the buffer is being appended too. C does both functions with the ever present char * type, for better and worse.