|
|
|
|
|
by mmaniac
450 days ago
|
|
What's so bad about _Generic? I would not let the name distract you - it's equivalent to overloading, not "generics" (i.e. parametric polymorphism) In that capacity I think it's quite a lot more sane than C++. Having a closed set of overloads, not having name mangling, not having complex name lookup rules are all a good thing. |
|
"...is a deeply hated C feature that everyone likes to dunk on for both being too much and also not being good enough at the same time"
https://thephd.dev/improving-_generic-in-c2y