|
|
|
|
|
by marcosdumay
1652 days ago
|
|
Hum, I've never seen generics making code harder to reason about in any language, except, of course for C++, where they are hacked over text. If they will make code harder to read, that's up to syntax. I don't know how all that will look up on the end, but it should be reasonably easy to just write an example. |
|
do you mean templates?
i was under the impression that c++ generics == templates, but after a google search found out that c++ has both (at least according to microsoft), not surprised
https://docs.microsoft.com/en-us/cpp/extensions/generics-and...