logoalt Hacker News

dsegolast Sunday at 9:40 PM1 replyview on HN

Zig is noisy and and the syntax is really not elegant. One reason I like odin's syntax, it's minimal and so well thought out.


Replies

ngrillylast Monday at 8:56 PM

Yes, Zig’s syntax is a bit noisier, but it enables things such as using if/for/while/switch in expressions, or using anonymous struct literals to emulate named and default parameters in functions.