Re:Zig-style generics are not well-suited for most languages
by WalterBright on Monday October 10, 2022 @02:07AM
(#33148295)
> there is always the possibility of having to debug errors from the template implementation because the authors didn’t choose precise enough constraints
That is indeed possible, but it's hard to see why that is a problem. Any problems would show up at compile time, and fixing errors flagged by the compiler is pretty routine programming work.
That is indeed possible, but it's hard to see why that is a problem. Any problems would show up at compile time, and fixing errors flagged by the compiler is pretty routine programming work.