3 ms·
This is why I hate them too. You can use a custom length + pointer type for representing strings in your own code, but interfacing with other libraries and the
by ziml77 4y ago
This is why I hate them too. You can use a custom length + pointer type for representing strings in your own code, but interfacing with other libraries and the OS almost always requires having a null-terminated string. It forces you to make copies just to tack on the null terminator.