2 ms·
Maybe there needs to be an idiom where T is generic, requiring little or not traits on it. N,M,... is a numeric type thing, S,T,U,.. is a container type thing.
by sitkack 10y ago
Maybe there needs to be an idiom where T is generic, requiring little or not traits on it. N,M,... is a numeric type thing, S,T,U,.. is a container type thing. When one starts to get multiple generics in a function, usually they interact in some way, what names we should give them to describe that interaction, I don't know.
Naming is hard, naming in generic code is x^y harder.