Comment

Comment by sn41

> that’s pretty much it.

Only if you ignore

1. variadic arguments as in printf,

2. function pointers which are a very elementary (type-unsafe) form of closures,

3. a nice way of casting to void

4. setjmp and longjmp goodies (?) which allow you to code up co-routine libraries and exception handling mechanisms

I'm sure there are more such facets I am missing.

The elegance of the specification may be questionable, but the scope of what C tried to achieve is breathtaking. It actually is superior to most of its improvements.

parent sn41 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton