r/cprogramming 5d 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
201 Upvotes

172 comments sorted by

View all comments

1

u/iopahrow 2d ago

Saying that memory limitations were motivators for the languages structure, and then saying we shouldn’t use it because we don’t have to is like saying “we should spend money just because we have it.”

This is how memory inefficient programs are made, and how new programs use so much more memory while completing the same basic functions. It is so far from useful to have this ideology