← Back to context

Comment by flohofwoe

1 day ago

These are all just your personal preferences. Just use another language instead which better matches your taste, nobody forces you to use C and there are plenty of more opinionated alternatives.

FWIW, the standard library being stuck in the K&R era is an actual problem since it doesn't make use of more modern language features and some functions are downright footgun magnets, but nobody quite agrees what a modern stdlib should look like, so a stdlib2 probably will never happen.

Just today some friends sent me this: https://stefansf.de/c-quiz

Yesterday I would have agreed that C is a nice and simple language, today I believe it is a cursed one that we just happen to make work somehow.

> Just use another language instead

That isn't really an option if you are working on an existing project written in c.

HN is for technical discussions. Even if the parent were only judging by his own personal preferences that would be relevant here.

Note: I've written a lot of C by profession and passion, yet I find parent's criticisms mostly valid. At least he did not mention rust ;)

Nah, I spent many years writing C for a living. That library isn't from the K&R era, it's from C89, the problems I'm talking about are much more fundamental.

Of course nobody forces me to use C, which is why I stopped writing C a few years ago.