Zig-style generics are not well-suited for most languages
A discussion of some of the downsides of Zig
Hasnain says:
"One meta point to keep in mind: many of the points here mirror the downsides of dynamic typing in comparison to static typing (again, not to imply that dynamic typing is not sometimes useful), because in some sense, it is the same problem but in a different context – instead of run time vs compile time, we’re talking about instantiation time vs declaration time. Yes, you have more flexibility to do whatever you want, but the problem is that you have more flexibility to do whatever you want."
Posted on 2022-10-10T04:49:53+0000