3 ms·
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
by flohofwoe 5mo 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.
- tialaramex 5mo agoNah, 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.
- Luker88 5mo agoJust today some friends sent me this: https://stefansf.de/c-quiz 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.
- rixed 5mo agoHN 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 ;)
- thayne 5mo ago> Just use another language instead That isn't really an option if you are working on an existing project written in c.