92
Why make it complicated?
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
To be fair, the C example could be detangled a lot by introducing a typedef:
True, but that requires writing an additional definition and hides the parameter types, which can be very interesting, and you'd need a typedef for every new param combination I guess. It feels like a solution for a problem that could have been avoided by a better signature syntax in the first place.