3 ms·
Ok so... why choose C if they know they're shooting themselves?
by MangoToupe 1y ago
Ok 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.