Hacker News new | ask | show | jobs
by avadodin 53 days ago
C11 is last C as far as I'm concerned.

I don't mind adding new features in committees but if they are going to remove compatibility, they should rename their language to nuC or CantbelieveitsnotRust(yet).

No offense intended to Rust which is a fine language.

3 comments

If C was not supposed to be changed to correct its past mistakes, we would still increment with a=+1 instead of a+=1, or we would use something called nunununuC.

> C11 is last C as far as I'm concerned.

Are you sure? I think C23 brought so many enhancements it's a pity to ignore it.

> we would use something called nunununuC

"C++", perhaps? :)

I'm with you there.

> if they are going to remove compatibility

C as a language has one job, and it is to not do this.

So you still code in K&R C, I reckon.
There is such a thing as legacy code. I don't know why they were writing K&R style definitions in what must have been the late nineties but they were. It was standard C after all.
Because in the 90s there where still UNIX systems out their using K&R. I worked on one of them back then.

It was a 16bit UNIX.