Skip to content

Comment on Zig’s Io.Threaded is neatparent

Comments

but zig has no ternaries, so it does not apply to a discussion about zig’s syntax.

and ternary is a branch with no variable introduction, so it doesn’t apply again.

(it’s basically a weak switch expression, and the value moves leftwards towards its invocation.)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.