Comment

Comment by asveikau

There are plenty of interesting C works out there, as well as data structures or algorithms that C can express elegantly.

Small example, linked lists. I don't think non-C linked list code tends to be as straightforward as I've seen in C.

Or the character-at-a-time style of string processing. It's kind of unique to C.

You can say there is stuff about that you don't like. That's fine. Linked lists suck with modern CPU caches anyway. C strings have lots of misadventures in terms of buffer overflows. But it's unique and interesting. Lots of elegant things have been written this way. Your unfamiliarity with it doesn't make it "a joke" to point this out.

I have my own gripes with HN. Try mentioning politics and it brings out all sorts of fascist-sympathizing crazies. But saying good to neutral things about C (while not even universally praising it) is not one of those issues.

parent asveikau 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton