[clug] [OT] Null-terminated strings: expensive mistake or not
sjenkin at canb.auug.org.au
Wed Aug 3 20:41:09 MDT 2011
A friend sent me this link making a case that null-terminated strings
were "The Most Expensive One-byte Mistake".
I think it was exactly right at the time:
- fits the Unix Philosophy: simple and definitive solutions
- falls naturally out of C and how it handles pointers
Which begs the question:
Is it right for now?
There are a bunch of C and other coders on the list.
Thought you might have interesting opinions on this.
Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA
sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin
More information about the linux