Comment by uecker
6 months ago
The language is just fine. The real question is: Why do people not use a string library that abstracts this away safely?
6 months ago
The language is just fine. The real question is: Why do people not use a string library that abstracts this away safely?
Oh, people tried. Every C programmer tried it. I tried multiple times. They all failed.
Back when I was musing about what D would be like, I happened across some BASIC code. I was drawn to the use of strings, which were so simple in BASIC. I decided that D would be a failure if strings weren't as easy to use as in BASIC.
And D strings turned out to be better than I'd dared hope!
I proposed an enhancement to C to get much of that benefit, but it received zero traction in the C community. Oh well.
https://www.digitalmars.com/articles/C-biggest-mistake.html
Why does the language not make one?
because at that time, C creator didn't know thing would evolve into the future. after all computer is a new thing
Ok, but the question asks why one isn't made today.
4 replies →