4 ms·
Zig is indeed verbose in some aspects, but not overall. For example, its `try error-union` syntax eliminates a lot of boilerplate code. The main reason why Zig
by tapirl 3mo ago
Zig is indeed verbose in some aspects, but not overall. For example, its `try error-union` syntax eliminates a lot of boilerplate code.
The main reason why Zig is verbose in some aspects is the main goal of Zig is program performance. It is a worthy tradeoff.
- NetMageSCW 3mo agoThat goal doesn’t imply verbosity is necessary- just a style thing which is contrary to its goal of being a better C, given verbosity is the opposite of most C.
- tapirl 3mo agoPerformance alone doesn't always imply verbosity, but combining it with other goals—such as increased security and more power std APIs—often does.