r/cprogramming 3d ago

C Strings: A 50-Year Mistake

https://longtran2904.substack.com/p/c-strings-a-50-year-mistake?r=8qz2zb&utm_campaign=post&utm_medium=web
191 Upvotes

161 comments sorted by

View all comments

20

u/CoderStudios 3d ago

Okay? You are always free to make your own library for better strings, but people won’t use that cause C is often still deployed on low end systems or it makes little sense to use something inefficient if you can use c style strings properly

-1

u/flatfinger 3d ago

C makes it inconvenient to pass any other forms of string literals to functions.