Mixins in Zig
igor84.github.io
igor84.github.io
Consequently it doesn't try to be the be-all end-all of programming languages. If you are not writing an operating system, a database engine, game engine and such Zig is not your friend. Take your finite resources elsewhere, instead of reinventing Java, Swift, Dart, C#, Go, JavaScript or Python. Software developers are very religious about their languages, but Zig really should be just a part of the C ecosystem, only be used for what you would use C for, complementing existing C libraries. I'm not telling people what to use the language for, I'm just saying that using a hammer as a tennis racket is unproductive.