C Strings and my slow descent to madness
If you are using C and do some non-trivial work with strings you should either use a good library to handle strings or build your own.<p>It is not that difficult in practice.<p>The old C std lib is, in my opinion, outdated, obsolete and a very bad fit for complex string handling, especially on the memory management side.<p>In my own framework, the string management module is using a dedicated memory allocator and a &quot;high level&quot; string API with full UTF8 support from the start.<p>As a general rule, I think that the C std lib is the weakest part of the C language and it should only be used as a fallback.