You could have thrown in a bunch of functions from string(3), but even then... C string handling isn't great by any means, but it isn't vast or complicated either.
You could have thrown in a bunch of functions from string(3), but even then... C string handling isn't great by any means, but it isn't vast or complicated either.
It's small and easy to grasp the entire thing though, unlike most other more modern high level languages.
That said, it's not entirely clear that matters too much. Almost any non-toy C project is going to be bringing in libraries outside libc, so you still need to go off and learn those if you want to work on a project. Doesn't really matter whether they're in the base language or not.
> It's small and easy to grasp the entire thing though, unlike most other more modern high level languages.
So ready for the question?
Oh, well it didn't address what I wrote.
> So ready for the question?
Doesn't address what I wrote.
Whatever
You would have a point about knowing exactly every single corner case of the language. I don't think that's easy even for C. Fortunately I didn't claim it was either.
> grasp
You said "It's small and easy to grasp the entire thing though, unlike most other more modern high level languages."
The entire thing doesn't include corners? And you entered the conversation in support of someone that literally said "every corner, nook and cranny"! If you were making a much weaker claim, it's on you to make that clear. Instead of this petty "doesn't address what I wrote" garbage.
On top of that, being able to suss out what is undefined behavior is in fact quite important for proper use of C. I wish it was a super rare corner case but it's not.
> The entire thing doesn't include corners?
It does.
> And you entered the conversation in support of someone that literally said "every corner, nook and cranny"!
So reply to that.
> If you were making a much weaker claim, it's on you to make that clear.
I did. You just didn't read what I wrote.
> Instead of this petty "doesn't address what I wrote" garbage.
Garbage. Ironic.
> On top of that, being able to suss out what is undefined behavior is in fact quite important for proper use of C. I wish it was a super rare corner case but it's not.
Sure. Doesn't change the fact your question was stupid and didn't address what I wrote.