> while(*s++ = *t++)
On Fri, 14 Oct
2011, Chuck Guzis wrote:
One of the most evil programming conventions ever
foisted on the
computer community--null-terminated character strings. While I'm
sure that Messrs. K&R didn't intend it to become a hard-and-fast
convention, it served to hammer young minds into thinking that way.
Before C and its ilk, did *any* language's compiler store character
strings that way,
howzbout:
not a COMPILER, but, . . .
function 9 of MS-DOS and CP/M, that uses '$' terminated strings!
There are many ways to store a string. Terminating character requires a
little bit of extra care, but are the others much better?