3 ms·
> like generics getting too complicated I'd love to know if you write lots of code and/or have to maintain other people's hugely templated code. I find if you
by throwDec21 5y ago
> like generics getting too complicated
I'd love to know if you write lots of code and/or have to maintain other people's hugely templated code. I find if you have to do lots of the second you quickly stop writing it.
- stouset 5y agoSaying that generics get complicated because C++ templates are a nightmare is throwing the baby out with the bathwater. I don’t think anyone same would ever design templates today.
- kaba0 5y agoI would still prefer that over copy pasting that shitty list implementation for the nth type, or whatever “convention” some C devs do to make it “generic”.