|
|
|
|
|
by spion
3896 days ago
|
|
I think its a common meme that started because of the complexity of C++ templates and continues to be perpetuated by the creators (and moreso, users) of Go as an excuse to not implement generics. Unlike C++ templates, generics in TypeScript are really simple - I'd estimate it would only take a week to get used to them. |
|
I just don't want the extra mental overhead of writing and reading generic parameters whereas I never had to do that with javascript. I really enjoyed the concept of having types for my javascript objects, but am getting frightened at the concept of decreased readability due to generics.