Hacker News new | ask | show | jobs
by 1718627440 299 days ago
Because they like how C caters to this. This question was asked here several times, please read the answers there.
1 comments

Ok so... why choose C if they know they're shooting themselves?
> Ok so... why choose C if they know they're shooting themselves?

> Because they like how C caters to this.

We(aka I) think we are shooting ourselves less, because C represents the algorithms more in a way how we want to express them. C's lack of syntactic sugar means dynamic dispatch is always visible. C not prescribing which function pointers you can use, means that the most fitting way can be chosen as described by the article and the LWN post, as opposed to shoehorning it into some paradigm prescribed by the language, which causes more problems done the line.