|
|
|
|
|
by smt88
3900 days ago
|
|
Reasoning about generics in TypeScript isn't bad. I'm not totally sure what you meant by that. I just rewrote an API in TypeScript for Node, and I didn't spend most of my time reasoning about meta-anything. TypeScript mostly added amazing, insightful static analysis, and when I ran my code, it almost always worked perfectly at runtime. The debugger in VSCode is great, too! |
|
Unlike C++ templates, generics in TypeScript are really simple - I'd estimate it would only take a week to get used to them.