4 ms·
>This post is meant to discuss reasons why Zig-style generics are not well-suited for languages other than Zig. Zig’s generics are in some sense well-suited to
by jamincan 2y ago
>This post is meant to discuss reasons why Zig-style generics are not well-suited for languages other than Zig. Zig’s generics are in some sense well-suited to Zig, because they line up with the language’s philosophy that it is very important to have fewer concepts rather than more concepts.
>However, most languages don’t share that philosophy, at least, not as strongly as Zig does.
Bryan Cantrill talked about values of different programming languages [1] and I think it's a particularly useful way to compare different languages and the choices they make when developing them.
It often seems that criticism that is directed at a language is simply a reflection of a difference in values.
1. https://corecursive.com/024-software-as-a-reflection-of-values-with-bryan-cantrill/ https://corecursive.com/024-software-as-a-reflection-of-valu...