Re:Conflating pointers with arrays: C's biggest mistake? (2009)
by kahlonel on Sunday July 22, 2018 @02:46AM
(#17585562)
Its actually quite common for C programmers to create their own array type that knows its length, and use it in their projects. See this for example: https://github.com/antirez/sds
[ Parent
| on HN ]
Re:Conflating pointers with arrays: C's biggest mistake? (2009)
by WalterBright on Sunday July 22, 2018 @03:16AM
(#17585636)
Everybody writes their own string package for C. I've written probably a couple dozen of them. They're all inadequate for one reason or another, hence my subsequent attempts.
Probably the most damning problem is none of them are able to interoperate.