3 ms·
If this is the pattern you prefer, why not choose a language that caters to it? Choosing C just seems like you're TRYING to shoot yourself. I don't care how goo
by MangoToupe 1y ago
If this is the pattern you prefer, why not choose a language that caters to it? Choosing C just seems like you're TRYING to shoot yourself. I don't care how good you are at coding, this is just a bad decision.
- 1718627440 1y agoBecause they like how C caters to this. This question was asked here several times, please read the answers there.
- MangoToupe 1y agoOk so... why choose C if they know they're shooting themselves?
- 1718627440 1y ago> 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.